
Command Syntax
Abbreviating
You can abbreviate many oscilloscope commands. Each command in this
documentation shows the minimum acceptable abbreviations in capitals. For
example, you can enter the command ACQuire:NUMAvg simply as ACQ:NUMA
or acq:numa.
Abbreviation rules may change over time as new oscilloscope models are
introduced. Thus, for the most robust code, use the full spelling.
If you use the HEADer command to have command headers included as part
of query responses, you can further control whether the returned headers are
abbreviated or are full-length with the VERBose command.
Concatenating
You can concatenate any combination of set commands and queries using a
semicolon (;). The oscilloscope executes concatenated commands in the order
received.
When concatenating commands and queries, you must follow these rules:
1.
Separate completely different headers by a semicolon and by the beginning
colon on all commands except the
fi
rst one. For example, the commands
TRIGger:MODe NORMal
and
ACQuire:NUMAVg 8
, can be concatenated
into the following single command:
TRIGger:MODe NORMal;:ACQuire:NUMAVg 8
2.
If concatenated commands have headers that differ by only the last mnemonic,
you can abbreviate the second command and eliminate the beginning colon.
For example, you can concatenate the commands
ACQuire:MODe ENVelope
and
ACQuire:NUMAVg 8
into a single command:
ACQuire:MODe ENVelope; NUMAVg 8
The longer version works equally well:
ACQuire:MODe ENVelope;:ACQuire:NUMAVg 8
3.
Never precede a star (*) command with a colon:
ACQuire:STATE 1;*OPC
Any commands that follow will be processed as if the star command was
not there so the commands,
ACQuire:MODe ENVelope;*OPC;NUMAVg 8
will set the acquisition mode to envelope and set the number of acquisitions
for averaging to 8.
4.
When you concatenate queries, the responses to all the queries are
concatenated into a single response message. For example, if the display
graticule is set to Full and the display style is set to dotsonly, the concatenated
query
DISplay:GRAticule?;STYle:DOTsonly?
will return the following.
If the header is on:
DISPLAY:GRATICULE FULL;:DISPLAY:STYLE:DOTSONLY 1
2-4
MSO4000 and DPO4000 Series Programmer Manual
Содержание DPO4000 Series
Страница 2: ......
Страница 10: ...Table of Contents vi MSO4000 and DPO4000 Series Programmer Manual ...
Страница 23: ...Command Syntax MSO4000 and DPO4000 Series Programmer Manual 2 9 ...
Страница 24: ...Command Syntax 2 10 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 84: ...Command Groups 2 70 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 546: ...Commands Listed in Alphabetical Order 2 532 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 564: ...Status and Events 3 18 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 565: ...Appendix A Character Set MSO4000 and DPO4000 Series Programmer Manual A 1 ...
Страница 566: ...Appendix A Character Set A 2 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 572: ...Appendix B Reserved Words B 6 MSO4000 and DPO4000 Series Programmer Manual ...