DIAGnostic:DOWNload:SADDress

Example Loading Dynamic Configuration information into an allocated RAM segment.

DIAG:NRAM:CRE 6

Allocate a segment of user

 

RAM

DIAG:BOOT:WARM

Re-boot system to complete

 

allocation

DIAG:NRAM:ADDR?

query starting address

enter value to variable X

get starting address into X

DIAG:DOWN < value of X> ,table data download table data

VXI:CONF:DCTAB < value of X>

link configuration table to

 

configuration algorithm

DIAG:BOOT:WARM

Re-boot to set new

 

configuration

:DOWNload:SADDress DIAGnostic:DOWNload:SADDress < address> ,< data> writes data to non-volatile User RAM at a single address specified by address, and writes data to devices with registers in A16 address space.

Parameters

Parameter

Parameter

Range of

Default

 

Name

Type

Values

Units

 

 

 

 

 

 

 

 

 

 

 

address

numeric

0 to 16,777,215 (# HFFFFFE)

none

 

 

 

 

 

 

data

arbitrary block

See "Parameter Types", in the

none

 

 

program data

beginning of this chapter

 

Comments

• 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 accounted for or suppressed using an

 

appropriate IMAGE or FORMAT statement. Some helpful methods:

Control the End-Of-Line characters with format statements.

Use the Definite Length Arbitrary Block Program Data format to send your data rather than the Indefinite Length Arbitrary Block Program Data format.

A register address in A16 address space can be determined by:

1FC00016 + (LADDR * 64) + register_number

where 1FC00016 is the base address in the System Instrument A16 address space, LADDR is the device logical address, 64 is the number of address bytes per device, and register_number is the register to which the data is written.

If the device is an A24 device, the address can be determined using the VXI:CONF:DLISt command to find the base address in A24, and then adding the register_number to that value. A24 memory between address 20000016 and address E0000016 is directly addressable by the Controller.

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.

Related Commands: DIAG:UPLoad:SADDress?

7-14 System Instrument Command Reference

Page 142
Image 142
Agilent Technologies E1300B, E1301B, 75000 SERIES B DIAGnosticDOWNloadSADDress, 1FC00016 + Laddr * 64 + registernumber