5522A
Operators Manual
6-46
Example: UUT_RECV? returns #211+1.99975E+0
Returns (for example) a measurement from the UUT. The format is #2 (two numbers
follow) 11 (characters follow) +1.99975E+0 (11 characters).
UUT_RECVB?
Sequential Overlapped
Coupled
IEEE-488 RS-232
x x xx
x
(UUT Receive Binary Data query) Returns binary data as integers from the UUT serial
port. Use the UUT_RECV? command instead if receiving ASCII data.
Parameter: (Optional) Maximum number of integers per line
Response: (Indefinite ASCII) Comma separated integers as follows:
1. (integer) Number of data bytes returned excluding the count
2. (integer) Data from the UUT serial port as series of comma
separated integers
Example: "=>" followed by a carriage return and a line feed returns 4,61,62,13,10
UUT_SEND
Sequential Overlapped
Coupled
IEEE-488 RS-232
x x xx
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
may 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 terminate 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 end in a carriage return (CR)
command or line feed (LF) command or both, you must use the following:
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, sending the string REMS in this format with both CR
and LF, you would count 4 characters for REMS and 1 character each for ^J and ^M for a
total of 6 characters. The command would 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 may not be used when a character string requires
CR and LF commands.