Extra Space Or Tab Characters; Terminators - Fluke 522A/6 Operator's Manual

Multi-product calibrator
Table of Contents

Advertisement

5522A
Operators Manual
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.
Terminator
Function
Carriage Return
(CR)
Line Feed (LF)
Backspace (BS)
Form Feed (FF)
Examples:
RS-232 Terninal Mode
RS-232 Computer Mode
(typical to Visual Basic)
IEEE-488 Mode
(command only)
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.
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.)
5-32
Table 5-9. Terminator Characters
ASCII Characters
Number
13
10
8
12
OUT 1 V, 60 Hz <Enter>
UUT SEND "REMS/n"
UUT_SEND #205REMS^M
Comm1.Output = "OUT 1 V, 60 Hz" + Chr(10)
Comm1.Output = "UUT_SEND ""REMS/n"" " Chr(10)
OUT 1 V, 60 Hz
UUT_SEND "REMS\N"
ASCII LF character
Any ASCII character sent with the EOI control line asserted
Control Command
Terminator
Program
Chr(13)
<Cntrl> M
Chr(10)
<Cntrl> J
Chr(8)
<Cntrl> H
Chr(12)
<Cntrl> L
<Enter>
<Enter> (^M means <cntrl>M)
Language Command
Terminator
\n
\r
\b
\f

Advertisement

Table of Contents
loading

This manual is also suitable for:

5522a5522a-pq5522a-pq/1g5522a/1ghz5522a-pq/6

Table of Contents