Instructions
45
:TRIGger:IIC:SCL:SOURce?
Description : Set or query the channel source of SCL in I2C trigger
Parameter :<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4>
Return : The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4
Example :TRIGger:IIC:SCL:SOURce CHANnel1 /*set source to CH1*/
:TRIGger:IIC:SCL:SOURce? /* The query returns
CHANnel1*/
TRIGger:IIC:CONdition
Syntax :TRIGger:IIC:CONdition <condition>
:TRIGger:IIC:CONdition?
Description : Set or query the trigger condition in I2C trigger
Parameter :<condition> ::= < START| STOP| ACK_LOST| ADDR_NO_ACK|
RESTART| READ_DATA>
Return : The query returns START| STOP| ACK_LOST| ADDR_NO_ACK|
RESTART| READ_DATA
Example :TRIGger:IIC:CONdition START /*set START */
:TRIGger:IIC:CONdition? /* The query returns
START*/
TRIGger:IIC:ADDer
Syntax :TRIGger:IIC:ADDer <addr>
:TRIGger:IIC:ADDer?
Description : Set or query the address when the trigger condition is
ADDRess or ADATa in I2C trigger
Parameter :<addr> ::= 8 位
Return : The query returns addr
Example :TRIGger:IIC:ADDer 20 /*set addr to 20*/
:TRIGger:IIC:ADDer? /* The query returns 20*/
TRIGger:IIC:DATA
Syntax :TRIGger:IIC:DATA <index> <data>
:TRIGger:IIC:DATA? <index>
Description : Set or query the data when the trigger condition is DATA
or ADATa in I2C trigger
Parameter :<data> ::= 8bit