Introduction to Programming
Response Data Formats
Response Data Formats
Both numbers and strings are returned as a series of ASCII characters, as
described in the following sections. Keywords in the data are returned in the
same format as the header, as specified by the LONGform command. Like
the headers, the keywords will always be in uppercase.
Example
The following are possible responses to the :SELECT 2:MACHINE1:
TFORMAT: LAB? 'ADDR' query.
Header on; Longform on
:SELECT 2:MACHINE1:TFORMAT:LABEL "ADDR
POSITIVE<terminator>
Header on;Longform off
:SEL 2:MACH1:TFOR:LAB "ADDR
Header off; Longform on
"ADDR
Header off; Longform off
"ADDR
See Also
The individual commands in Part 2 of this guide contain information on the
format (string or numeric) of the data returned from each query.
1–18
",19,POSITIVE<terminator>
",19,POS<terminator>
",19,
",19,POS<terminator>