
Command syntax:
: S Y S t e m : S E T u p
block data
where:
block data
: : =
b l o c k l e n g t h s p e c i f i e r
s e c t i o n . . .
block length specifier
:: =
length
l e n g t h
:: = the total length of all sections in byte format (must be represented with 8 digits)
c section
: : =
section header section data
section header
:: =
16
bytes in the following format:
10 bytes for the section name
1 bytereserved
1 byte
f o r t h e m o d u l e I D c o d e ( 3 1 f o r t h e l o g i c a n a l y z e r )
4 bytes for the length of the section data in bytes
section data
:: = format depends on the type of data
Note
The total length of a section is 16 (for the section header) plus the length
e section data. So when calculating the value for
length , do not
forget to include the length of the section headers.
Example:
OUTPUT
c block
data
Query Syntax:
:SYStem:SETup?
Returned Format:
data
c
HP-IB Example:
HP
16518
System Commands
Programming Reference
635
10 DIM
20 DIM
30 OUTPUT
ON"
! allocate enough memory for block data
40 OUTPUT
OFF"
50 OUTPUT
! send setup query
60 ENTER XXX USING
! read in
70 ENTER
! read in block length
80 ENTER XXX USING
! read in data
90 END