Agilent Technologies E1300B User Manual

Page 143

Advertising
background image

Example

Downloading Data to a Single Address Location

This program downloads an array with the data 1, 2, 3, 4, 5 to register 32 on a
device with logical address 40 in VXIbus A16 address space.

DIM Dnld_data(1:5)

Dimension controller array

DATA 1,2,3,4,5
READ Dnld_data(* )

Load data into controller array

"DIAG:DOWN:SADD # H1FCA20,# 210";

This line is sent without termination.

Send Dnld_data as 16-bit words

Terminate after last word with
EOI or LF and EOI

:DRAM:AVAilable?

DIAGnostic:DRAM:AVAilable? Returns the amount of RAM remaining
(available) in the DRAM (Driver RAM) segment, which is the amount of RAM
in the segment minus any previously loaded drivers.

Comments

DIAG:DRAM:CREAte does not allocate the RAM segment until after a
subsequent re-boot.

Related Commands: DIAG:DRAM:CREate, DIAG:DRIVer:LOAD,
DIAG:DRIVer:LIST?

Example

Determine amount of space left for drivers in the DRAm segment.

DIAG:DRAM:AVA?
enter statement

statement returns available
DRAM in bytes.

DIAGnostic :DRAM:AVAilable?

System Instrument Command Reference 7-15

Advertising
This manual is related to the following products: