Preset Status
Specific events are reported at a higher level by constructing status data and using the status reporting mechanism. These events are summarized in the required structures, OPERation status register, and QUEStionable register.
STAT:PRES only affects the ENABle register and the transition filter register of the status data structure.
STAT:PRES does not clear any event registers or any items from the error/event queue.
To reset all event registers and the queue within the device status reporting mechanism, use *CLS.
For status data required by SCPI, STAT:PRES sets the transition filter registers so that only positive transitions are detected and sets the ENABle register to all zeroes. The settings of the service request enable register, parallel poll enable register, memory registers related to the *SAV command, the KFM2150 address, output queue, and power on status clear flag are not affected by this command.
For the device-dependent status data structure, STAT:PRES sets the ENABle register to all 1s and sets the transition filter registers so that only positive transitions are reported.
Table 13 Preset values of registers that can be set by the user
Register | Filter/Enable | Preset Value |
Required SCPI status register QUEStionable OPERation |
Enable register | All 0s |
Positive transition filter | All 1s | |
Negative transition filter | All 0s | |
Device-dependent status register OPERation:MEASuring OPERation:TRIGger OPERation:PROTecting |
Enable register | All 1s |
Positive transition filter | All 1s | |
Negative transition filter | All 0s |
Command
STATus:PRESet