IEEE-488 Programming
5-38
Example
PRINT #1, "OUTPUT 18;W11110000X"
' Select rows ABCD for break/make
PRINT #1, "OUTPUT 18;W00000000X"
' Restore default condition
5.9.24 X — Execute
Purpose
To direct the Model 708A to execute device-dependent commands received since the last X.
Format
<command> X
Description
The execute command is implemented by sending an ASCII X over the bus. Its purpose is to
direct the Model 708A to execute other device-dependent commands. Generally, the execute
character is the last byte sent in the command string; however, there may be some cases when it
is desirable to send a string of characters at one time and then send the execute character later on.
Programming notes
1. Commands or command strings sent without the X character are not executed at that time, but
they are stored in an internal command buffer for later execution once the X character is
finally received.
2. The X character can also be used to trigger, as described in paragraph 5.9.19.
3. Commands are not necessarily executed in the order sent (see Table 5-10). To force a partic-
ular command sequence, include the X character after each command in the command string.
Example
PRINT #1, "OUTPUT 18;E1X"
' Execute single command
PRINT #1, "OUTPUT 18;E1CA47X"
' Execute multiple commands
PRINT #1, "OUTPUT 18;T6XA1XR1X"
' Force command sequence
PRINT #1, "OUTPUT 18;G2Y1"
' Send string without execute
PRINT #1, "OUTPUT 18;X"
' Now execute command string at later time
5.9.25 Y — Terminator
Purpose
To select the ASCII terminator sequence that marks the end of the instrument's data string or sta-
tus word.
Format
Yn
Parameters
n = 0 <CR><LF>
n = 1 <LF><CR>
n = 2 <CR>
n = 3 <LF>
Default
Upon power-up or after receiving a DCL, SDC, or R0X command, the instrument defaults to Y0
(<CR><LF>).
Description
By using the Y command, you can program the number and type of terminator characters the
instrument sends at the end of its data string. Available terminator characters are the commonly
used CR (carriage return, ASCII 13) and LF (line feed, ASCII 10) characters. These terminator
characters are recognized by most controllers.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание 708A
Страница 135: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 136: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 137: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 138: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 139: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 145: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 146: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 147: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 148: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 149: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 150: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...