beautypg.com

Bus1:uart:tx:source, Bus1:uart:rx:source – GW Instek GDS-2000A series Programming Manual User Manual

Page 174

background image

GDS-2000A Programming Manual

174

Description

Sets or queries the EOF character for the UART
packet setting.

Syntax

:BUS1:UART:EOFPAcket

Parameter/Return
parameter

0: NULL
1: LF (line feed)
2: CR (carriage return)
3: SP (space character)
4: FF

Example

:BUS1:UART:EOFPAcket 2
Sets the OEF character to CR.

:BUS1:UART:TX:SOURce

Description

Sets or queries which channel is used for the
UART Tx source.

Syntax

:BUS1:UART:TX:SOURce { OFF| D0 | D1 | D2 | D3 | D4
| D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 |
D15 | ? }

Parameter/Return
parameter

OFF

Off, no Tx source

D0 to D15

Digital channels D0 to D15

Example

:BUS1:UART:TX:SOURce D1
Sets channel D1 as the Tx source.

:BUS1:UART:RX:SOURce

Description

Sets or queries which channel is used for the
UART Rx source.

Syntax

:BUS1:UART:RX:SOURce { OFF| D0 | D1 | D2 | D3 | D4
| D5 | D6 | D7 | D8 | D9 | D10 | D11 | D12 | D13 | D14 |
D15 | ? }

Parameter/Return
parameter

OFF

Off, no Rx source

D0 to D15

Digital channels D0 to D15

Set

Query

Set

Query