Agilent Technologies E1300B Computer Hardware User Manual


 
:UPLoad[:MADDress]? DIAGnostic:UPLoad[:MADDress]? < address>,<byte_count> Returns the
number of bytes specified by byte_count, starting at address.
Parameters Parameter
Name
Parameter
Type
Range of
Values
Default
Units
address numeric 0 to 16,777,215 (# HFFFFFE) none
byte_count numeric 0 to (999,999,998) none
Comments Address may be specified in decimal, hex (# H), octal (# Q), or binary
(# B) formats.
UPLoad is done by word (16 bit) access so address and byte_count must
be even.
Data is returned in the Definite Block Response Data format:
# < non-zero digit> < digit(s)> < data byte(s)>
Where the value of < non-zero digit> equals the number of < digit(s)> .
The value of < digit(s)> taken as a decimal integer indicates the number
of < data byte(s)> to expect in the block.
This command can also be used to retrieve data from a device with
registers in A16 address space. See DIAG:UPload:SADDress?
Related Commands: DIAG:NRAM:ADDress?, DIAG:NRAM:CREate,
DIAG:DOWNload
Example Upload data stored on non-volatile User RAM.
DIM HEADER$[6],DATA(1024)
6 chars for "# 41024" header
1024 chars for data bytes
DIAG:NRAM:ADDR?
get starting address of NRAM
enter ADD
address into ADD
OUTPUT "DIAG:UPL? < value of ADD> ,1024"
request 1 Kbyte from address in ADD
enter HEADER$
strip "# 41024" from data
enter DATA
get 1024 data bytes into string; use enter format so statement
won’t terminate on CRs or LFs etc. Line Feed (LF) and EOI
follow the last character retrieved.
DIAGnostic :UPLoad[:MADDress]?
System Instrument Command Reference 7-27