GDS-1000B Programming Manual
172
Parameter/Return
parameter
UART
Sets the bus to UART mode.
I2C
Sets the bus to I
2
C mode.
SPI
Sets the bus to SPI mode.
CAN
Sets the bus to CAN mode.
LIN
Sets the bus to LIN mode.
Example
:BUS1:TYPe SPI
Sets the bus to SPI mode.
:BUS1:INPut
Description
Sets or returns the source for the bus inputs as the
analog channels.
Note
The GDS-1000B currently only supports the analog
input channels as bus input sources.
Syntax
:BUS1:INPut {ANAlog | ?}
Parameter/Return
parameter
ANAlog
Sets the source to the analog inputs
Example1
:BUS1:INPut?
>ANALOG
:BUS1:I2C:ADDRess:RWINClude
Description
Sets or queries whether the read/write bit is
included in the I
2
C address.
Syntax
:BUS1:I2C:ADDRess:RWINClude { OFF | ON | ? }
Related
commands
:BUS1:STATE
Parameter
OFF
The R/W bit is not included.
ON
The R/W bit is included.
Return parameter 0
The R/W bit is not included.
1
The R/W bit is included.
Set
Query
Set
Query