Example

See Also

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.

The following are possible responses to the :SELECT 2:MACHINE1:

TFORMAT: LAB? ’ADDR’ query.

Header on; Longform on

:SELECT 2:MACHINE1:TFORMAT:LABEL "ADDR ",19, POSITIVE<terminator>

Header on;Longform off

:SEL 2:MACH1:TFOR:LAB "ADDR ",19,POS<terminator>

Header off; Longform on

"ADDR ",19,POSITIVE<terminator>

Header off; Longform off

"ADDR ",19,POS<terminator>

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

Page 32
Image 32
HP Sander 16500C manual Response Data Formats