Remote Operation Getting Started Guide
Using setups, actions, and results
16
Transport Module, DMC, MSAM, and 5800 Remote Operation
Correct format
:SENSe:PAYLoad:BERT:PATTern ALL_ONES
Incorrect format
:SENSe:PAYLoad:BERT:PATTern "ALL_ONES"
:SENSe:PAYLoad:BERT:PATTern all_ones
Investigate the command line specifications, found elsewhere in this document, for a more
complete list of string values and enumerated values that apply to various commands.
Query values
To query the current value of the setup, issue the SCPI command for that setup followed
by a question mark.
The commands in the following examples both query for the transmit DS1 framing on line
0 (as described in
“Port Definition” on page 15
):
:SOURce:PDH:DS1:FRAMING?
:SOURce:PDH:DS1:FRAMING0?
Initiating actions
A unique SCPI command exists for every action. The examples in this section will show
how actions can be implemented, and status can be queried and toggled using the same
root command with minor variations on its initiation.
Initiate command
The command in the following example inserts a single bit error on line 0 (line assumed to
be 0 when not indicated):
:SOURce:PAYLoad:BERT:INSert:TSE
Query state
To discover what is the state of error rate insertion action (on line 0) the
:RATE?
query is
added:
:SOURce:PAYLoad:BERT:INSert:TSE:RATE?
:SOURce:PAYLoad:BERT:INSert:TSE:RATE0?
Initiate command
To turn error rate insertion ON (on line 0):
:SOURce:PAYLoad:BERT:INSert:TSE:RATE ON
:SOURce:PAYLoad:BERT:INSert:TSE:RATE0 ON
Toggling actions
Many action commands simply toggle the action ON and OFF
.
NOTE
Remember to check each command with the SYST:ERR? query. If you do
not check each command, and one is incorrect, the error message does not
indicate the incorrect command.