MDO3000 Programmer Manual.pdf - 第212页
Commands Listed in A lphabetical Order Arguments CH1–CH4 specifi es an analog channel as the I2C SDA T A source waveform. D0–D15 specifies a digital c hannel as the I2C SDA T A source wa veform. (MSO/MDO4000 /B models only…

Commands Listed in Alphabetical Order
Examples
BUS:B1:I2C:AD
DRESS:RWINCLUDE ON
includes the read/write bit in the
address.
BUS:B1:I2C:A
DDRESS:RWINCLUDE?
might return
BUS:B1:I2C:ADDRESS:RWINCLUDE 0 indicating the read/write bit is not
included in the address.
BUS:B<x>:I
2C{:CLOCk|:SCLk}:SOUrce
This command specifies the SCLK source for the I2C bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:I2C{:CLOCk|:SCLk}:SOUrce {CH1|CH2|CH3|CH4|
D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}
BUS:B<x>:I2C{:CLOCk|:SCLk}:SOUrce?
Arguments
CH1–CH4 specifies an analog channel as the SCLK source waveform.
D0–D15 specifies a digital channel as the SCLK source waveform.
(MSO/MDO4000/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
BUS:B<x>:I2C{:DATa|:SDAta}:SOUrce
Specifies the SDATA source for the I2C bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:I2C{:DATa|:SDAta}:SOUrce {CH1|CH2|CH3|CH4|
D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}
BUS:B<x>:I2C{:DATa|:SDAta}:SOUrce?
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-181

Commands Listed in Alphabetical Order
Arguments
CH1–CH4 specifi
es an analog channel as the I2C SDATA source waveform.
D0–D15 specifies a digital channel as the I2C SDATA source waveform.
(MSO/MDO4000
/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
BUS:B<x>:LABel
Specifies the waveform label for the bus.
Group
Bus
Syntax
BUS:B<x>:LABel <Qstring>
BUS:B<x>:LABel?
Arguments
<Qstring> is an alphanumeric string of text, enclosed in quotes, that contains the
text label information for bus <x>. The text string is limited to 30 characters.
BUS:B<x>:LIN:BITRate
Specifies the bit rate for the LIN bus.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application
module for all 4000 series models, and the MDO3AUTO application module
for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:LIN:BITRate <NR1>
BUS:B<x>:LIN:BITRate?
Arguments
<NR1> is the LIN bus bit rate. You can enter any positive integer, and the
instrument will coerce the value to the closest supported bit rate.
Examples
BUS:B1:LIN:BITRATE 9600 sets the bit rate 9600.
BUS:B1:LIN:BITRATE? might return BUS:B1:LIN:BITRATE 2400 indicating
the bit rate is set to 2400.
2-182 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
BUS:B<x>:LIN
:IDFORmat
Specifies the LIN bus ID format.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application
module for all 4000 series models, and the MDO3AUTO application module
for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:LIN:IDFORmat {NOPARity|PARity}
BUS:B<x>:LIN:IDFORmat?
Arguments
NOPARity sets the LIN bus ID format to no parity.
PARity sets the LIN bus ID format to parity.
Examples
BUS:B1:LIN:IDFORMAT PARITY sets the LIN bus ID format to parity.
BUS:B1:LIN:IDFORMAT? might return BUS:B1:LIN:IDFORMAT NOPARITY
indicating the LIN bus ID format is no parity.
BUS:B<x>:LIN:POLarity
Specifies the LIN bus polarity.
Conditions
This command requires a DPO4AUTO or DPO4AUTOMAX application
module for all 4000 series models, and the MDO3AUTO application module
for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:LIN:POLarity {NORMal|INVerted}
BUS:B<x>:LIN:POLarity?
Arguments
NORMal specifies normal polarity.
INVerted specifies inverted polarity.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-183