MDO3000 Programmer Manual.pdf - 第229页
Commands Listed in Alphabetical Order BUS:B<x>:SPI :IDLETime This command specifies the idle time, in seconds, f or the SPI bus. Conditions This command requires a DPO4EMBD application module for 4000 series models,…

Commands Listed in Alphabetical Order
BUS:B<x>:SPI
:DATa:SIZe
This command specifies the number of bits per word (data size) for the specified
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:SIZe <NR1>
BUS:B<x>:SPI:DATa:SIZe?
Arguments
NR1 is the data size of the specified bus.
Examples
BUS:B1:SPI:DATA:SIZE 8 sets the data size to 8 bits per word.
BUS:B1:SPI:DATA:SIZE? might return BUS:B1:SPI:DATA:SIZE 8
indicating the data size is 8 bits per word.
BUS:B<x>:SPI:FRAMING
This command specifies the type of framing to use 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:FRAMING {SS|IDLEtime}
BUS:B<x>:SPI:FRAMING?
Arguments
SS specifies to use the SS (non 2-wire) framing type.
IDLEtime specifies to use the Idle Time (2-wire) framing type.
Examples
BUS:B1:SPI:FRAMING SS sets the framing type to SS.
BUS:B1:SPI:FRAMING IDELTIME might return BUS:B1:SPI:FRAMING
IDELTIME
indicating the framing type is set to IDLETIME.
2-198 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
BUS:B<x>:SPI
:IDLETime
This command specifies the idle time, in seconds, 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:IDLETime <NR3>
BUS:B<x>:SPI:IDLETime?
Arguments
NR3 is the idle time, in seconds, for the SPI bus.
Examples
BUS:B1:SPI:IDLETIME 100.0000E-9 sets the idle time to 100 ns.
BUS:B1:SPI:IDLETIME? might return BUS:B1:SPI:IDLETIME
100.0000E-9
indicating the idle time is set to 100 ns.
BUS:B<x>:SPI{:SELect|:SS}:POLarity
This command specifies the 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{:SELect|:SS}:POLarity {LOW|HIGH}
BUS:B<x>:SPI{:SELect|:SS}:POLarity?
Arguments
LOW specifies an active low polarity.
HIGH specifies an active high polarity.
BUS:B<x>:SPI{:SELect|:SS}:SOUrce
This command specifies the source waveform for the SPI bus.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-199

Commands Listed in Alphabetical Order
Conditions
This command re
quires a DPO4EMBD application module for 4000 series
models, and an MDO3EMBD application module for MDO3000 series models.
Group
Bus
Syntax
BUS:B<x>:SPI{:SELect|:SS}: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{:SELect|:SS}:SOUrce?
Arguments
CH1–CH4 specifies an analog channel as the source waveform.
D0-D15 specifies a digital channel as the source waveform.
(MSO/MDO4000/B models only as well as MDO3000 and MDO400C models
with option MDO3MSO or MDO4MSO installed.)
BUS:B<x>:STATE
This command specifies the on/off state of the bus.
Group
Bus
Syntax
BUS:B<x>:STATE {<NR1>|OFF|ON}
BUS:B<x>:STATE?
Related Commands
SELect:{BUS<x>|B<x>}
Arguments
ON or <NR1> ≠0turnsonthebus.
OFF or <NR1> =0turnsoffthebus.
BUS:B<x>:TYPe
This command specifies (or queries) the bus type. The supported bus types are
dependent on the oscilloscope model and the installed application models. With
the exception of the parallel bus, all bus types require installation of an application
module. (Seepage2-15,Bus Command Group.)
NOTE. The PARallel bus is available on M SO/MDO4000/B models only as well
as MDO3000 and MDO400C models with option MDO3MSO or MDO4MSO
installed.
2-200 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual