MDO3000 Programmer Manual.pdf - 第855页

Commands Listed in Alphabetical Order Group Tr i g g e r Syntax TRIGger:A:BUS :B<x>:I2C:DAT a:DIRection {READ|WRITE|N OCA RE} TRIGger:A:BUS :B<x>:I2C:DATa:D IRection? Arguments READ specifies read as the data …

100%1 / 1158
Commands Listed in Alphabetical Order
Examples
TRIGGER:A:BUS
:B1:I2C:ADDRESS:VALUE 1011
sets the I
2
C address value
to XXX1011.
TRIGger:A:BUS:B<x>:I2C:CONDition
This command specifies the trigger condition for an I
2
Ctrigger.B<x>
Conditions
This command requires a DPO4EMBD application module for DPO/MSO4000B
and MDO4000/B/C models or MDO3EMBD application module for
MDO3000 models.
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:I2C:CONDition
{STARt|STOP|REPEATstart|ACKMISS|ADDRess|DATA|ADDRANDDATA}
TRIGger:A:BUS:B<x>:I2C:CONDition?
Arguments
STARt specifies a search based on start condition.
STOP specifies a search based on stop condition.
REPEATstart specifies a search based on repeat of start condition.
ACKMISS specifies a search based on missing acknowledgement condition.
ADDRess specifies a search based on address.
DATA specifies a search based on data.
ADDRANDDATA specifies a search based on address and data.
Examples
TRIGGER:A:BUS:B1:I2C:CONDITION START specifies start as the I
2
Ctrigger
condition.
TRIGger:A:BUS:B<x>:I2C:DATa:DIRection
This command specifies the I
2
C trigger type to be valid on a Read, Write, or Either
condition. Read or write is indicated by the R/W bit in the I
2
C protocol. B<x>
Conditions
This command requires a DPO4EMBD application module for DPO/MSO4000B
and MDO4000/B/C models or
MDO3EMBD application module for
MDO3000 models.
2-824 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:I2C:DAT
a:DIRection {READ|WRITE|N OCARE}
TRIGger:A:BUS:B<x>:I2C:DATa:DIRection?
Arguments
READ specifies read as the data direction.
WRITE specifies write as the data direction.
NOCARE specifies either as the data direction.
Examples
TRIGGER:A:BUS:B1:I2C:DATA:DIRECTION WRITE specifies write as the
I
2
C data direction.
TRIGger:A:BUS:B<x>:I2C:DATa:SIZe
This command specifies the length of the data string in bytes to be used for an
I2C trigger if the trigger condition is DATA or ADDRANDDATA. Applies to
bus <x>, where x
Conditions
This command requires a DPO4EMBD application module for DPO/MSO4000B
and MDO4000/B/C models or MDO3EMBD application module for
MDO3000 models.
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:I2C:DATa:SIZe <NR1>
TRIGger:A:BUS:B<x>:I2C:DATa:SIZe?
Arguments
<NR1> is the le
ngth of the data string in bytes.
TRIGger:A:BUS:B<x>:I2C:DATa:VALue
This command specifies the binary data string used for I2C triggering if the trigger
condition is
DATA or ADDRANDDATA.
B<x>
Conditions
This command requires a DPO4EMBD application module for DPO/MSO4000B
and MDO4000/B/C models or MDO3EMBD application module for
MDO3000 models.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-825
Commands Listed in Alphabetical Order
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:I2C:DATa:VALue <QString>
TRIGger:A:BUS:B<x>:I2C:DATa:VALue?
Arguments
<QString> is the binary data string, where the number of bits is 8 times the
number of bytes specified. The only allowed characters in the string are 0, 1,
and X.
TRIGger:A:BUS:B<x>:LIN:CONDition
This command specifies the trigger condition for LIN. B<x>
Conditions
This command requires a DPO4AUTO application module for DPO/MSO4000B
and MDO4000/B/C models or MDO3AUTO application module for
MDO3000 models.
Group
Trigger
Syntax
TRIGger:A:BUS:B<x>:LIN:CONDition
{SYNCField|IDentifier|DATA|IDANDDATA
|WAKEup|SLEEP|ERROR}
TRIGger:A:BUS:B<x>:LIN:CONDition?
Arguments
SYNCField sets the LIN trigger condition to sync field.
IDentifier sets the LIN trigger condition to identifier.
DATA sets the LIN trigger condition to data.
IDANDDATA sets the LIN trigger condition to id and data.
WAKEup sets the LIN trigger condition to wake up.
SLEEP sets the LIN trigger condition to sleep.
ERROR sets the LIN trigger condition to error.
Examples
TRIGGER:A:BUS:B1:LIN:CONDITION ERROR sets the LIN trigger condition
to error.
TRIGGER:A:BUS:B1:LIN:CONDITION? might return
TRIGGER:A:BUS:B1:LIN:CONDITION SYNCFIELD indicating the LIN trigger
condition is sync field.
2-826 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual