![JDS Uniphase T-BERD MTS 8000 Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/jds-uniphase/t-berd-mts-8000/t-berd-mts-8000_getting-started-manual_3589532017.webp)
Remote Operation Getting Started Guide
Using setups, actions, and results
Transport Module, DMC, MSAM, and 5800 Remote Operation
17
The following command toggles error rate insertion (reverses its state) for line 0.
:SOURce:PAYLoad:BERT:INSert:TSE:RATE
Executing the same command a second time without a parameter will turn error rate inser-
tion back to its original state (OFF).
Port Definition
As with setups, the zero-based port index (0 for port 1 and 1 for port 2) may optionally be
specified at the end of the command (or before the "?" if a query is issued).
If no number is specified, 0 (port 1) is assumed.
Further resources
Investigate the action initiation specifications, found elsewhere in this document, for a more
complete list of actions commands.
Querying results
Action commands do not return any value unless they are queries. To obtain the results of
the tests initiated, a query must be issued.
All test results are queried using the following command:
[:SENSe]:DATA <result name>
where
–
[:SENSe]
is an [optional] entry.
[line]
represents the port number. It is not necessary to enter the port number
unless a dual port application is running. For dual port applications, "0" corresponds to
port 1; "1" corresponds to port 2.
Usage:
[:SENSe]:DATA[line]? <result name>
–
[array indices]
specifies indices for results that are arrays. For example,
(@1,3:5)
indicates that the query results are for indices 1, 3, 4 and 5. Note that index
numbering is zero-based.
Usage:
[:SENSe]:DATA[line]? [array indices] <result name>
–
result name
is the name of the result to be queried.
These examples query for the value of the signal present result on line 1 (the second port),
illustrating that [:SENSe] is optional:
:SENSe:DATA1? CSTATUS:PHYSICAL:SIGNAL
:DATA1? CSTATUS:PHYSICAL:SIGNAL
The following examples query for the value of pattern sync present result on line 0 (the first
port), illustrating the optional nature of defining port 0:
:SENSE:DATA? CSTatus:PAYLoad:BERT:PATTern:SYNC
:SENS:DATA0? CST:PAYL:BERT:PATT:SYNC
:DATA? CST:PAYL:BERT:PATT:SYNC
:DATA0? CST:PAYL:BERT:PATT:SYNC