5502A
Operators Manual
6-42
Example:
"=>"
followed by a carriage return and a line feed shows 4,61,62,13,10
UUT_SEND
Sequential
Overlapped
Coupled
IEEE-488
RS-232
x
x
x
x
x
(Send UUT Data command) Sends data to the UUT serial port in binary block or string
data format over the Calibrator rear panel SERIAL 2 TO UUT serial port. The command
can be sent over GPIB or RS-232 ports, but applies to SERIAL 2 TO UUT serial port
operation. Include a line feed (RS-232) character to stop the block data or End or Identify
(EOI) command (IEEE-488).
Parameter:
#2
<nn><nn characters string>
(definite length)
#0
<character string>
(indefinite length)
“<character
string>“
(character
string)
Examples:
UUT_SEND #206F1S2R0
(definite length format)
Sends the data
F1S2R0
to the UUT in definite length format. The format is #2 (two
numbers follow)
06
(characters follow)
F1S2R0
(6 characters).
UUT_SEND #0F1S2R0
(indefinite length format)
Sends the data
F1S2R0
to the UUT in indefinite length format. The format is #0 then the
characters.
UUT_SEND “F1S2R0”
(character string)
Sends the data
F1S2R0
to the UUT as a character string.
Special Case When the character string sent to a UUT must complete in a carriage return
(CR) command or line feed (LF) command or both, you must use:
Definite Length Format
Follow the instructions above and after the character string add
a command ^J for CR or ^M for LF or both, where ^J means hold down the <Cntl> key
and type the letter J. For example, if you send the string REMS in this format with both
CR and LF, you can count 4 characters for REMS and 1 character each for ^J and ^M for
a total of 6 characters. The command will be
UUT_SEND #206REMS^J^M
then
<enter>. (The
^J
and
^M
“characters” actually perform the CR and LF functions.)
Indefinite Length Format
This format cannot be used when CR and LF commands are
necessary for the character string.
Character String
Follow the instructions above and after the character string, add a \n
for CR or \r for LF or both, where the alpha character is recorded in lower case. For
example, in the terminal mode to send the string REMS in this format with CR and LF,
the command will be
UUT_SEND “REMS\n\r”
. In the computer mode where
commands are recorded as part of a command string, use double quotes to show
embedded quotes. For example,
“uut_send “REMS\n\r”” “
.
The subsequent characters and commands can be implemented as described above:
Carriage
Return
^J
\n
Line
Feed
^M
\r
Tab
Tab
\t
Backspace
^H
\b
Form
Feed
^L
\f
Summary of Contents for 5502A
Page 4: ......
Page 12: ...5502A Operators Manual xii ...
Page 46: ...5502A Operators Manual 2 2 ...
Page 52: ...5502A Operators Manual 2 8 ...
Page 54: ...5502A Operators Manual 3 2 ...
Page 142: ...5502A Operators Manual 4 68 ...
Page 194: ...5502A Operators Manual 6 2 ...
Page 240: ...5502A Operators Manual 7 2 ...
Page 260: ...5502A Operators Manual 7 22 ...
Page 262: ...5502A Operators Manual 8 2 ...
Page 365: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Page 366: ...5502A Operators Manual B 2 ...
Page 368: ...5502A Operators Manual B 4 ...
Page 378: ...5502A Operators Manual D 6 ...