Returns the measurement status
GxDmmGetReadStatus (nHandle, pbValid, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle for a GX2065 board. |
pbValid |
PBOOL |
Returns the DMM’s Valid Reading flag value |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Every time a measurement is made by the instrument, the pbValid flag will be TRUE. After the measurement data is read by the PC using an API function call, this flag is cleared and set to FALSE. This function allows the user to determine if the measurement data stored in the DMM is fresh.
The following example gets the current trigger timer rate:
SHORT nHandle, nStatus;
BOOL bValid;
GxDmmGetReadStatus (nHandle, &bValid, &nStatus);
GxDmmSetTriggerMode, GxDmmGetTriggerMode, GxDmmSetRange, GxDmmGetRange, GxDmmSetFunction, GxDmmGetFunction, GxDmmGetErrorString