Synchronization With The Controller - YOKOGAWA TA520 User Manual

Time interval analyzer gp-ib interface
Table of Contents

Advertisement

<Character String Data>
<Character string data> is not a specified character
string like <Character data>. It is an arbitrary character
string. A character string must be enclosed in single
quotation marks (
'
) or double quotation marks (
Form
<Character string data>
• Response messages are always enclosed in double
quotation marks.
• If a character string contains a double quotation
mark (
"
), the double quotation mark will be replaced
by two concatenated double quotation marks (
This rule also applies to a single quotation mark
within a character string.
• <Character string data> is an arbitrary character
string, therefore this instrument assumes that the
remaining program message units are part of the
character string if no single (
mark (
) is encountered. As a result, no error will be
"
detected if a quotation mark is omitted.
<Block data>
<Block data> is arbitrary 8-bit data. <Block data> is
only used for response messages. Response
messages are expressed in the following form.
Form
#8<8-digit decimal value><Data byte string>
• #8
Indicates that the data is <Block data>.
• <6-digit decimal value>
Indicates the number of bytes of data. (
bytes)
• <Data byte string>
The actual data. (
ABCDEFGHIJ
• Data is comprised of 8-bit values (0 to 255). This
means that the ASCII code [0AH], which stands for
[NL], can also be a code used for data. Hence, care
must be taken when programming the controller.
IM 704310-12E
"
).
Example
'ABC' "IEEE488.2-1987"
""
).
'
) or double quotation
Example
#8000010ABCDEFGHIJ
000010=10
)
2.4 Data/2.5 Synchronization with the Controller
2.5 Synchronization with the
Controller
On the TA520, there are no overlap commands which
permit the execution of the next command before the
execution of the previous command completes. If
multiple commands are sent sequentially, the
execution of the next command is held until the
execution of the previous command completes.
How to Achieve Synchronization
Synchronization is sometimes required for reasons
other than communications related reasons, such as
the activation of a trigger.
For example, if the program message (see below) is
transmitted to make an inquiry about the data which is
acquired during single measurement, the
"MEMory:SEND?"
command will be executed whether
acquisition has been completed or not, causing a
command execution error.
:SSTart;:MEMory:SEND?<PMT>
In this case, synchronization with the time at which
acquisition is completed must be accomplished, as
shown below.
Using STATus:CONDition? query
A
"STATus:CONDition?"
query is used to make an
inquiry about the contents of the condition register
(page 4-4). It is possible to judge whether acquisition
is in progress or not by reading bit 0 of the condition
register. The measured data is effective if bit 0 is
If it is
"0"
, acquisition is in progress, thus the
measured data is not effective.
Example
:SSTart<PMT>
STATus:CONDition?<PMT>
(Returns to the previous status if bit 0 is
found to be [1] when the response is
decoded.)
MEMory:SEND?<PMT>
A
query will not be executed until bit
"MEMory:SEND?"
0 of the condition register has been set to [
2
"1"
.
1
].
2-7

Advertisement

Table of Contents
loading

Table of Contents