Using Device Clear
Device Clear is an IEEE- 488 low- level bus message that you can use to
return the instrument to a responsive state (e.g., during a lengthy query).
Different programming languages and IEEE- 488 interface cards provide
access to this capability through their own unique commands. The status
registers, the error queue, and all configuration states are left unchanged
when a Device Clear message is received.
Device Clear performs the following actions:
1 If a scan is running, it is aborted.
2 The instrument returns to the trigger "idle" state.
3 The instrument's input and output buffers are cleared.
4 The instrument is prepared to accept a new command string.
An overlapped command, if any, will be terminated with no "Operation
Complete" indication.
N O T E
U2300A Series USB DAQ Programming Guide
• The ABORt command is the recommended method to terminate a
measurement.
• It is recommended that you allow for a two-second wait following a Device
Clear to enable the instrument to process the clear operation.
Introduction to Programming
1
9