DATA:POINts:EVENt:THReshold
DATA:POINts:EVENt:THReshold
Syntax
DATA:POINts:EVENt:THReshold <num_rdgs>
DATA:POINts:EVENt:THReshold?
Description
This command sets a bit in the Standard Operation Register group event register when the specified number of readings have been stored in reading memory from a scan. The "Memory Threshold" bit (bit 9) is set to a "1" in the event register when the number of stored readings is greater than or equal to the specified memory threshold.
![]()
For more information on the Status System for the instrument, see Status System Introduction.
Parameters
Name Type Range of Values Default Value <num_rdgs> Numeric An integer from 1 to 50,000 This is a required parameter. The factory default value is 1.
Remarks
- To report any subsequent events, the reading count must first drop below the programmed memory threshold before reaching the threshold again. Use the R? or DATA:REMove command to remove readings from memory.
- To enable the "Memory Threshold" bit (bit 9) to be reported to the Status Byte, use the STATus:OPERation:ENABle command.
- Once the "Memory Threshold" bit is set, it will remain set until cleared by the STATus:OPERation[:EVENt]? command or *CLS (clear status) command.
- The instrument resets the memory threshold to "1" after a Factory Reset (*RST command) or when mainframe power is cycled. The memory threshold value is not reset by the SYSTem:PRESet, *CLS, or STATus:PRESet command.
Return Format
The query returns the number of readings currently specified as the memory threshold as a signed integer.
Examples
The following command sets the memory threshold to 125 readings.
DATA:POIN:EVEN:THR 125
The following query reads the memory threshold setting.
DATA:POIN:EVEN:THR?
Typical Response: +125