HP (Hewlett-Packard) 16501A Sander User Manual


 
For example, for transmitting 80 bytes of data, the syntax would be:
Figure 1-2
Definite-length Block Response Data
The "8" states the number of digits that follow, and "00000080" states the
number of bytes to be transmitted, which is 80.
Multiple Queries
You can send multiple queries to the system within a single program
message, but you must also read them back within a single program message.
This can be accomplished by either reading them back into a string variable
or into multiple numeric variables.
Example You can read the result of the query :SYSTEM:HEADER?;LONGFORM? into
the string variable Results$ with the BASIC command:
ENTER XXX; Results$
When you read the result of multiple queries into string variables, each
response is separated by a semicolon.
Introduction to Programming
Multiple Queries
1–22