USING THE COMBISCOPE INSTRUMENTS 3 - 73
3.15.2 How to reset the status data
The
*
CLS command allows you to clear the following status data structures:
•
All event status registers, such as the following:
- standard event status register (ESR)
- status byte register (STB)
- operation event status register (STATus:OPERation:EVENt)
- questionable event status register (STATus:QUEStionable:EVENt)
•
The Error/event queue.
The STATus:PRESet command presets the filters and enable register of the
operation and questionable status data in such a way that device-dependent
events are reported. The result is as follows:
Note: A
*
RST command does not affect the contents of:
- event registers
- event enable registers
- output queues
- transition filters
PROGRAM EXAMPLE:
CALL Send(0, 8, "
*
CLS", 1) ’
CALL Send(0, 8, "STATus:PRESet", 1) ’