145
Chapter 5 Remote Interface Reference
Digital I/O Commands
4
5
Digital I/O Memory Commands
You can use the Agilent 3499A/B/C internal memory to store digital
data. After defining the memory, you can put data in memory for later
writing to a digital port, or you can read digital port data directly into
memory. Two independent blocks of memory can be used. A power on or
reset (*RST) command clears all defined memory blocks.
SOURce:DIGital:TRACe
:DEFine <sys_mem_name>,<size>[,<fill>]
:DEFine? <sys_mem_name>
:DEFine:CATalog?
The SOURce:DIGital:TRACe:DEFine command defines a memory
block for use.
The sys_mem_name parameter is a string containing up to 12 characters
that names the memory block.
size defines the number of bytes to use for the block memory. You can
specify memory size from 1 to 32768 bytes. If two memory blocks are
being defined (using two SOURce:DIGital:TRACe:DEFine commands)
the total memory size defined must not exceed 32768 bytes.
If the fill parameter is used, it puts a value into each of the bytes defined
in size. The value of fill can range from 0 to 255 (0 to FF
h
).
The SOURce:DIGital:TRACe:DEFine? query returns the size of the
memory data block (in bytes). The returned value can range from 1 to
32768.
The SOURce:DIGital:TRACe:CATalog? query returns a string
containing the name(s) of defined memory blocks. If two memory blocks
are defined, the sting contains both names separated by a comma.
SOURce:DIGital:TRACe
:DELete[:NAME] <sys_mem_name>
:DELete:ALL
These commands remove a memory block previously defined. With the
sys_mem_name parameter, only one block is removed. The ALL form of
the command removes all defined memory blocks.