MDO3000 Programmer Manual.pdf - 第225页
Commands Listed in Alphabetical Order Group Bus Syntax BUS:B<x>:SPI: BITOrder {LSB |MSB} BUS:B<x>:SPI: BITOrder? Arguments LSB sets the bit order to least significant bit first. MSB sets the bit order to most s…

Commands Listed in Alphabetical Order
Syntax
BUS:B<x>:RS23
2C:RX:SOUrce {CH1|CH2|CH3 |CH4|
D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15|Off}
BUS:B<x>:RS2
32C:RX:SOUrce?
Arguments
CH1–CH4 specifies an analog channel as the RX source waveform.
D0-D15 specifies a digital channel as the RX source waveform.
(MSO/MDO4000/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
Off sets the specified bus input to off.
BUS:B<x>:RS232C:TX:SOUrce
This command specifies the TX source waveform for the RS-232 bus.
Conditions
This command requires a DPO4COMP application module for 4000 series
models, and an MDO3COMP application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:RS232C:TX:SOUrce {CH1|CH2|CH3|CH4|
D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15|Off}
BUS:B<x>:RS232C:TX:SOUrce?
Arguments
CH1–CH4 specifies an analog channel as the TX source waveform.
D0-D15 specifies a digital channel as the TX source waveform.
(MSO/MDO4000/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
Off sets the specified bus input to off.
BUS:B<x>:SPI:BITOrder
This command specifies the bit order for the SPI bus. LSB is least significant bit
first; MSB is most significant bit first.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
2-194 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Group
Bus
Syntax
BUS:B<x>:SPI:BITOrder {LSB|MSB}
BUS:B<x>:SPI:BITOrder?
Arguments
LSB sets the bit order to least significant bit first.
MSB sets the bit order to most significant bit first.
Examples
BUS:B1:SPI:BITORDER LSB sets the bit order to least significant bit first.
BUS:B1:SPI:BITORDER? might return BUS: B1:SPI:BITORDER MSB
indicating the bit order is set to most significant bit first.
BUS:B<x>:SPI{:CLOCk|:SCLk}:POLarity
This command specifies the SCLK polarity for the SPI 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>:SPI{:CLOCk|:SCLk}:POLarity {FALL|RISe}
BUS:B<x>:SPI{:CLOCk|:SCLk}:POLarity?
Arguments
FALL specifies the SCLK polarity as falling edge.
RISe specifies the SCLK polarity as rising edge.
BUS:B<x>:SPI{:CLOCk|:SCLk}:SOUrce
This command specifies the SCLK source waveform for the SPI bus.
Conditions
This command requires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-195

Commands Listed in Alphabetical Order
Syntax
BUS:B<x>:SPI{
: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>:SPI
{: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>:SPI:DATa{:IN|:MISO}:POLarity
This command specifies the MISO polarity for the SPI 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>:SPI:DATa{:IN|:MISO}:POLarity {LOW|HIGH}
BUS:B<x>:SPI:DATa{:IN|:MISO}:POLarity?
Arguments
LOW specifies an active low polarity.
HIGH specifies an active high polarity.
BUS:B<x>:SPI:DATa{:IN|:MISO}:SOUrce
This command specifies the MISO source waveform for the SPI 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>:SPI:DATa{:IN|:MISO}:SOUrce {CH1|CH2|CH3|CH4|
D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}
BUS:B<x>:SPI:DATa{:IN|:MISO}:SOUrce?
2-196 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual