Download R&S RTM2 User Manual

Transcript
R&S®RTM2000
Remote Control
Command Reference
TRIGger:A:I2C:ADDRess <AddressString>
Sets the address of the slave device. The address can have 7 bits or 10 bits.
Parameters:
<AddressString>
String with max. 7 or 10 characters, depending on the address
length. Characters 0, 1, and X are allowed, but X cannot be
assigned to a specified bit. If at least one X occurs in the
address, the complete address is set to X.
Example:
TRIG:A:I2C:AMOD NORM
TRIG:A:I2C:ADDR "1011"
TRIG:A:I2C:ADDR?
Return value (7bit address): "0001011"
Example:
TRIG:A:I2C:AMOD EXT
TRIG:A:I2C:ADDR "10X1"
TRIG:A:I2C:ADDR?
Return value (10bit address): "XXXXXXXXXX"
TRIGger:A:I2C:PATTern <DataPattern>
Defines the bit pattern as trigger condition. Make sure that the correct pattern length
has been defined before with TRIGger:​A:​I2C:​PLENgth​.
Parameters:
<DataPattern>
String with max. 24 characters (3 byte + 8 bit) . Characters 0, 1,
and X are allowed. X can be assigned to a specified bit. If you
define a pattern shorter than the pattern length, the missing LSB
are filled with X. If you define a pattern longer than the pattern
length, the pattern string is not valid
Example:
TRIG:A:I2C:PLEN 2
TRIG:A:I2C:PATT "10X10000XXXX1111"
TRIG:A:I2C:PATT?
Return value (2 bytes): "10X10000XXXX1111"
Example:
TRIG:A:I2C:PLEN 1
TRIG:A:I2C:PATT "110"
TRIG:A:I2C:PATT?
Return value (1 byte): "110XXXXX"
TRIGger:A:I2C:PLENgth <PatternLength>
Defines how many bytes are considered in the trigger condition. To set the pattern for
these bytes, use TRIGger:​A:​I2C:​PATTern​.
Parameters:
<PatternLength>
Number of bytes
Range:
1 to 3
Increment: 1
*RST:
1
User Manual 1317.4726.02 ─ 02
433