5522A
Operators Manual
5-32
Indefinite Length
The Indefinite Length format accepts data bytes after the #0 until the
ASCII Line Feed character is received with an EOI signal (for RS-232 just a line feed or
carriage return will terminate the block).
Definite Length
The Definite Length format specifies the number of data bytes. The
data bytes are preceded by #n and an n-digit number. The n-digit number identifies how
many data bytes follow. For examples, see the UUT_SEND and *PUD command
descriptions in Chapter 6.
Extra Space or Tab Characters
In the command descriptions in Chapter 6, parameters are shown separated by spaces.
One space after a command is required (unless no parameters are required). All other
spaces are optional. Spaces are inserted for clarity in the manual and may be left in or
omitted as desired. You can insert extra spaces or tabs between parameters as desired.
Extra spaces within a parameter are generally not allowed, except for between a number
and its associated multiplier or unit. Chapter 6 contains examples for commands whose
parameters or responses are not self-explanatory.
Terminators
Table 5-9 summarizes the terminator characters for both the IEEE-488 and RS-232
remote interfaces.
Table 5-9. Terminator Characters
ASCII Characters
Terminator
Function
Number Program
Control Command
Terminator
Language Command
Terminator
Carriage Return
(CR)
13 Chr(13)
<Cntrl>
M \n
Line Feed (LF)
10
Chr(10)
<Cntrl> J
\r
Backspace (BS)
8
Chr(8)
<Cntrl> H
\b
Form Feed (FF)
12
Chr(12)
<Cntrl> L
\f
Examples:
RS-232 Terninal Mode
OUT 1 V, 60 Hz
<Enter>
UUT SEND “REMS/n”
<Enter>
UUT_SEND #205REMS^M
<Enter> (^M means <cntrl>M)
RS-232 Computer Mode
Comm1.Output = “OUT 1 V, 60 Hz” + Chr(10)
(typical to Visual Basic)
Comm1.Output = “UUT_SEND “”REMS/n”” “ Chr(10)
IEEE-488 Mode
OUT 1 V, 60 Hz
(command only)
UUT_SEND “REMS\N”
IEEE-488 Interface
The Calibrator sends the ASCII character Line Feed with the EOI
control line held high as the terminator for response messages. The calibrator recognizes
the following as terminators when encountered in incoming data.
•
ASCII LF character
•
Any ASCII character sent with the EOI control line asserted
RS-232 Interface
The Calibrator returns an EOL (End of Line) character with each
response to the PC. This is selectable as Carriage Return (CR), Line Feed (LF) or both
CRLF. (See “RS-232 Host Port Setup Procedure” earlier in this chapter.) Commands sent
to the Calibrator must end in either a CR or LF, or both. (See Table 5-9 above.)
Summary of Contents for 522A/6
Page 4: ......
Page 14: ...5522A Operators Manual x...
Page 18: ...5522A Operators Manual xiv...
Page 22: ...5522A Operators Manual 1 2...
Page 46: ...5522A Operators Manual 1 26...
Page 48: ...5522A Operators Manual 2 2...
Page 54: ...5522A Operators Manual 2 8...
Page 56: ...5522A Operators Manual 3 2...
Page 190: ...5522A Operators Manual 6 2...
Page 240: ...5522A Operators Manual 7 2...
Page 260: ...5522A Operators Manual 8 2...
Page 314: ...5522A Operators Manual 9 52...
Page 370: ...5522A Operators Manual 10 56...
Page 413: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes...
Page 414: ...5522A Operators Manual B 2...
Page 416: ...5522A Operators Manual B 4...