DRV_FAOCheck

INT32S DRV_FAOCheck(
   PTR_T DeviceHandle,
   PT_FAOCheck *lpFAOCheck ); 

Purpose

Retrieves the current status of FAO (Fast Analog Output) functions. The contents of the return status including running status (running/stopped or complete/incomplete), current output status.
 

Parameters

Some parameters, such as buffer that outputs data (ActiveBuf), stop flag of data output (stopped), current output count (CurrentCount), reserved *overrun and buffer status (HalfReady), are stored in the PT_FAOCheck, structure pointed by the lpFAOCheck.

Name Direction Range Description
DeviceHandle input default The pointer retrieved from the DRV_DeviceOpen which specifies the target device.
lpFAOCheck input / output default The pointer to indicate the user-prepared structure PT_FAOCheck that stores buffer that outputs data (INT16U ActiveBuf), stop flag of data output (INT16U stopped), current output count (INT32U CurrentCount), reserved overrun and sampling buffer status (INT16U HalfReady).

Return

   1. 0 Successful.
   2. InvalidDriverHandle The DriverHandle is NULL.
   3. FunctionNotSupported This function is not support by this device.