Synchronization With The Controller - YOKOGAWA TA220 User Manual

Digital jitter meter
Table of Contents

Advertisement

<Character String Data>
Unlike the predefined character strings of <Character
data>, <Character string data> is an arbitrary character
string. The character string is enclosed in single
quotation marks (' ) or double quotation marks (" ).
Format
<Character string data>
• If a character string containing a quotation mark (" )
is included within two other quotation marks, it is
represented by ("" ). This rule also applies to a
single quotation mark (' ).
• A response message is always enclosed in double
quotation marks (" ).
• Because <Character string data> is an arbitrary
character string, if the last single quotation mark (' )
or double quotation mark (" ) is missing, the
instrument may assume that the remaining program
message units are part of the <Character string
data> and may not detect the error.
IM 704610-01E
Example
'ABC'
"IEEE488.2-1987"
10.1.6
Synchronization with the
Controller
This instrument does not support overlap commands,
which allows the execution of the next command to
start before the execution of the previous command is
completed. If multiple sequential commands of the type
of commands supported by this instrument are sent
consecutively, the execution of the next command is
delayed until the execution of the previous command is
completed.
Synchronization Using Sequential
Commands
Even for sequential commands, synchronization is
sometimes required for non communication-related
reasons such as a trigger occurrence. For example, if
the next program message is sent when querying the
measured data of a single measurement,
"CALCulation:JITTer?
" is executed regardless of
whether the data acquisition has finished and may
result in a command execution error.
: S S T a r t ; : C A L C u l a t i o n : J I T T e r ? < P M T >
In this case, the following method must be used to
synchronize with the end of the acquisition:
Using the STATus:CONDition? query
The "STATus:CONDition? " command queries the
status register (page 10-37). Bit 0 of the status
register is read to determine whether or not the
measured data is valid. If bit 0 of the condition register
is "1," the measured data are valid. If it is "0,"
measurement or computation is in progress and the
measured data are invalid.
: S S T a r t
Example:
STATus:CONDition?<PMT>
If bit 0 is 0, repeat this command until it
becomes 1.)
CALCulation:JITTer?<PMT>
10.1 Program Format
10-7
10

Advertisement

Table of Contents
loading

Table of Contents