CNiIviDmmMeasurement::Fetch

Measurement Studio IVI

Class
CNiIviDmmMeasurement::
Fetch()
Base ClassesFunctionsGo to hierarchy chart    Prev page: AbortNext page: FetchMultiPoint    
Public Function Declared in:
NiIviDmm.h

'Declaration' icon -- Shortcut to top of page. Declaration

inline double Fetch(
    long int maxTime);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. 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.

'See Also' icon -- Shortcut to top of page. See Also