115
3-19-1. :BUS1
Query
Description
Returns the supported BUS types.
Syntax
:BUS1?
Return Parameter
Returns the supported bus types.
Example
BUS1?
I2C,SPI,UART,CAN,LIN
3-19-2. :BUS1:STATE
Set
Query
Description
Sets or queries the state of the bus.
Syntax
:BUS1:STATE { OFF | ON | ? }
Related commands :BUS1:TYPe
Parameter/Return
parameter
OFF
Turns the bus off.
ON
Turns the bus on.
Example
:BUS1:STATE ON
Turns the bus on.
3-19-3. :BUS1:TYPe
Set
Query
Description
Sets or queries the type of bus.
Syntax
:BUS1:TYPe { UART | I2C | SPI | CAN | LIN? }
Related commands :BUS1:STATE
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
LIN
Sets the bus to CAN mode.
Sets the bus to LIN mode.
Example
:BUS1:TYPe SPI
Sets the bus to SPI mode.
3-19-4. :BUS1:INPut
Set
Query
Description
Sets or returns the analog source.
Syntax
:BUS1:INPut {ANAlog | ?}
Parameter/Return
parameter
ANAlog
Sets the source to the analog inputs
Example1
:BUS1:INPut ANAlog
:BUS1:CAN:SOURce CH1