HP (Hewlett-Packard) 16501A Sander User Manual


 
Example The following example shows logic analyzer module data being returned to a
numeric variable.
10 OUTPUT XXX;":SYSTEM:HEADER OFF"
20 OUTPUT XXX;":SELECT 2:MACHINE1:TWAVEFORM:RANGE?"
30 ENTER XXX;Rang
40 PRINT Rang
50 END
This time the format of the number (whether or not exponential notation is
used) is dependent upon your host language. In BASIC, the output will look
like: 1.E-5
Definite-Length Block Response Data
Definite-length block response data, also referred to as block data, allows any
type of device-dependent data to be transmitted over the system interface as
a series of data bytes. Definite-length block data is particularly useful for
sending large quantities of data or for sending 8-bit extended ASCII codes.
The syntax is a pound sign ( # ) followed by a non-zero digit representing the
number of digits in the decimal integer. Following the non-zero digit is the
decimal integer that states the number of 8-bit data bytes to follow. This
number is followed by the actual data.
Indefinite-length block data is not supported on the HP16500C Logic Analysis
System.
Introduction to Programming
Definite-Length Block Response Data
1–21