Language Reference

ERASE

ERASE

Erase all memory, including internal memory and reserved memory, serial

 

numbers, correction factors, and all analyzer settings.

Example

10 OUTPUT 723;"ERASE;"

Erase all memory, except factory calibration data

 

 

stored in ROM.

Description The ERASE command erases all memory, except factory calibration data stored in ROM. ERASE destroys any stored conditions that may explain faulty

operation and aid in troubleshooting. The information that is erased is listed below:

￿Memory data protected by the PSTATE or PROTECT command.

￿The contents of internal memory. Internal memory contains user-de￿ned variables, traces, functions, keys, on-end-of-sweep algorithms, and ￿les).

￿The contents of reserved memory. Reserved memory contains serial-number information, correction factors, o￿sets, trace data, the limit-line table, and all analyzer settings.

￿The contents of the input bu￿er holding unexecuted commands (including any commands immediately following ERASE).

ERASE also sets the prede￿ned variable, NSTATE, equal to 2.

Use ERASE for security applications to destroy all previous instrument history.

After executing ERASE, (1) cycle power, or (2) press the 4INSTR5 key; or (3)

press 4DISPLAY5, NNEXTNNNNNNNNNNNNNNNNINSTRNNNNNNNNNNN.

The ERASE command does not a￿ect memory external to the spectrum analyzer, such as memory in the display, memory card, or HP-IB device.

7-133