Deleting Subprograms; Using State Memory; Storing States; Recalling States - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

Deleting
Subprograms

Using State Memory

Storing States

Recalling States

74 Chapter 3 Configuring for Measurements
The following program statement compresses the previously stored
subprogram named DCCUR1.
OUTPUT 722; "COMPRESS DCCUR1"
The DELSUB command deletes a particular subprogram. For example, to
delete the subprogram named DCCUR1 send:
OUTPUT 722; "DELSUB DCCUR1"
You can also delete all stored subprograms and all stored states using the
SCRATCH command.
You can store the multimeter's present configuration (measurement function.
range, resolution, integration time, etc.) as a particular state in state memory.
Subprograms, readings, and the contents of some math registers (see the
SSTATE command in Chapter 6 for details) are not included as part of a
stored state. In the event of a power loss, the multimeter stores its present
configuration in state 0, if you store a state in location 0, it will be overwritten
with the present configuration when power is removed. The multimeter has
14k-bytes of memory which are used for both states and subprograms. Each
state occupies about 300 bytes. If no subprograms are in memory, the
multimeter can store a maximum of 46 states. When subprogram/state
memory becomes full, the multimeter generates the Memory Error (bit 7 in
the error register).
The SSTATE command stores the multimeter's present state with an
identifying name. A state name may contain up to 10 characters. The name
can be all alpha characters or a combination of alpha and numeric characters
(the characters ? and _ can also be included in the name). You can also use
an integer in the range of 0 to 127 as the name (this is primarily for front
panel operation). When using an alphanumeric name, the first character must
be alpha. Alpha or alphanumeric state names must not be the same as
multimeter commands or parameters or the name of a stored subprogram.
When using an integer state name, the multimeter assigns the prefix STATE
to the integer when the state is stored. This differentiates an integer state
name from an integer subprogram name. For example, a state stored with the
name 8 will be recorded as STATE8. The state can be recalled later using
either the name 8 or STATE8.
All states are stored in continuous memory (remain intact when power is
removed). The multimeter compiles the state as it is stored. This means that
when the state is recalled, the multimeter configures itself much faster than
could be done by executing the individual commands that were used to create
the state. To store the present multimeter state as a state named ACST1, send:
OUTPUT 722; "SSTATE ACST1"
The RSTATE command recalls a state from memory and configures the
multimeter to the recalled state. For example, to recall state ACSTl send:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents