Terminating
MSO2000B, DPO2000B, MSO2000 and DPO2000 Series Oscilloscopes Programmer Manual
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 first one. For example, the commands
TRIGger:MODe NORMal
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
and
ACQuire:NUMAVg 8
ACQuire:MODe AVErage; NUMAVg 8
The longer version works equally well:
ACQuire:MODe AVErage;: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,
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.
5. Set commands and queries may be concatenated in the same message. For
example,
ACQuire:MODe SAMple;NUMAVg?;STATE?
is a valid message that sets the acquisition mode to sample. The message then
queries the number of acquisitions for averaging and the acquisition state.
Concatenated commands and queries are executed in the order received.
Here are some invalid concatenations:
HORizontal:SCAle 400E-9;ACQuire:NUMAVg 8
ACQuire)
DISPlay:GRAticule FULL;:*TRG
MATH:HORizontal:SCAle 1.0e-1;HORizontal:POSition 5.0el
(levels of the mnemonics are different; either remove the second use of
or place
HORizontal:
This documentation uses
terminator.
and
ACQuire:NUMAVg 8
into a single command:
ACQuire:MODe ENVelope;*OPC;NUMAVg 8
(colon before a star (*) command)
in front of
:MATH
HORizontal:POSition
(End of Message) to represent a message
<EOM>
Command Syntax
, can be concatenated
ACQuire:MODe AVErage
(no colon before
)
2-5
Need help?
Do you have a question about the MSO2024B and is the answer not in the manual?