Agilent Technologies E1301B Computer Hardware User Manual


 
:DOWNload:CHECked
[:MADDress]
DIAGnostic:CHECked:DOWNload[:MADDress] < address>,<data> writes
data into a non-volatile User RAM segment starting at address using error
correction. The User RAM segment is allocated by the DIAG:NRAM:CREate
or DIAG:DRAM:CREate command.
Parameters Parameter
Name
Parameter
Type
Range of
Values
Default
Units
address numeric 0 to 16,777,215 (# HFFFFFE) none
data arbitrary block
program data
See "Parameter Types", in the
beginning of this chapter
none
Comments This command is typically used to send a block of data to a block of user
RAM. It is the only way to send binary data to multiple addresses over a
serial (RS232C) line.
CAUTION: Be certain that all of the data you download will be contained
entirely within the allocated NRAM segment. Writing data outside of the
NRAM segment will disrupt the operation of the Command Module.
Most computers terminate an OUTPUT, PRINT, or WRITE statement
with a carriage return or carriage return and line feed. These
End-Of-Line characters must be either accounted for (NRAM segment
sized to accommodate them), or suppressed using an appropriate
IMAGE or FORMAT statement. Some helpful methods:
Size the NRAM segment a little larger than the expected data block
Control the End-Of-Line characters with format statements.
Use the Definite Length Arbitrary Block Program Data format (see
example) to send your data rather than the Indefinite Length
Arbitrary Block Program Data format.
Address may be specified in decimal, hex (# H), octal (# Q), or binary
(# B) formats. DOWNload is done by word (16 bit) access so address
must be even.
Be certain that address specifies a location within the User RAM
segment allocated using DIAG:NRAM:CREate if you are downloading a
configuration table. DIAG:DOWNload can change the contents of
System RAM causing unpredictable results.
This command can also be used to write data to a device with registers in
the A16 address space. See :DOWNload:SADDress.
Related Commands: DIAG:NRAM:CREate, DIAG:NRAM:ADDRess?,
DIAG:UPLoad?, VXI:CONF:CTABle, VXI:CONF:DCTable,
VXI:CONF:ITABle, VXI:CONF:MTABle
DIAGnostic :DOWNload:CHECked [:MADDress]
System Instrument Command Reference 7-9