DATA
Command Syntax:
:SYSTem:DATA
c
block data>
Example: OUTPUT
XXX;":SYSTEM:DATA"
<block
data>
where:
c block data
>
:: =
c block length specifier
>
-G
section
>
. .
c block length specifier
:: =
#8
c
length
>
c
length
>
:: = the total length of all sections in byte format (must be represented with 8 digits)
<section
>
::
=
<section header
>
c
section data
>
c
section header
>
:: = 16 bytes, described on the following page
c
section data
>
:: = format depends on the type of data
p’
Note
!b
The total length of a section is 16 (for the section header) plus the length
ofth
e
section data. So when calculating the value for
<
length
>
, do not
forget to include the length of the section headers.
QUety
SyfltZtX:
:SYSTem:DATA?
Returned Format:
[:SYSTem:DATA] <block data>
c
NL>
HP-IB Example:
HP 1650B/HP 16518
Programming Reference
10 DIM
Num$[Z].
Block$[32000]
! allocate enough memory for block data
30 OUTPUT XXX;":EDI ON"
40 OUTPUT XXX;":SYSTEM:HEAO OFF"
50 OUTPUT XXX;":SYSTEM:DATA?"
! send data query
60 ENTER XXX USING "#.2A";Num$
! read in X8
70 ENTER XXX USING "#,8D";Blocklength ! read in block length
80 ENTER XXX USING "-K";Block$
! read in data
90 END
System Commands
6-7