![]() |
Fetch()





Public Function |
Declared in: NiIviDmm.h |
Declaration
inline double Fetch( long int maxTime);
Description
Returns a previously acquired measured values. You must first call the Initiate function to initiate a measurement before calling this function.
If an over-range condition occurs, the return value is an IEEE defined NaN (Not a Number) value. You can test the measurement value for an over-range condition by calling the IsOverRange function.
Parameters
long int maxTime
The maximum length of time in milliseconds in which to allow the function to complete.
If the operation does not complete within this time interval, the function throws an exception. In addition a numerical value, one of the following defined constants can be used:
- CNiIviDmm::InfiniteMaxTime - Wait indefinitely.
- CNiIviDmm::ImmediateMaxTime - Do not wait for a timeout.