Omega OMB-DAQ-54 User Manual page 149

Usb data acquisition modules
Table of Contents

Advertisement

DLL Function
daqAdcTransferGetStat(DaqHandleT handle, PDWORD active, PDWORD retCount);
C
daqAdcTransferGetStat(DaqHandleT handle, PDWORD active, PDWORD retCount);
VBdaqAdcTransferGetStat&(ByVal handle&, active&, retCount&)
Visual BASIC
daqAdcTransferGetStat( handle:DaqHandleT; var active:DWORD; var retCount:DWORD )
Delphi
Parameters
handle
active
retCount
Returns
DerrNoError
See Also
daqAdcTransferSetBuffer, daqAdcTransferStart, daqAdcTransferStop
ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DAQEX.FRM (VB), DAQEX.PAS (Delphi)
Program References
Used With
All devices
Description
daqAdcTransferGetStat allows you to retrieve the current state of an acquisition transfer.
The active parameter will indicate the current state of the transfer in the form of a bit mask. Refer to the ADC Acquisition/Transfer Active
Flag Definitions (in the ADC Miscellaneous Definitions table) for valid bit-mask states.
The retCount parameter will return the total number of scans acquired in the current transfer if the transfer is in user-allocated buffer
mode or will return the total number of unread scans in the acquisition buffer if the transfer is in driver-allocated buffer mode. Refer to the
daqAdcTransferSetBuffer function for more information on buffer allocation modes.
The transfer state and return count values will continue to be updated until any of the following occurs:
the transfer count is satisfied
the transfer is stopped (daqAdcStopTransfer)
the acquisition is disarmed (daqDisarm)
B-16
API Commands
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqAdcTransferGetStat
Handle to the device for which ADC transfer status is to be retrieved
A pointer to the transfer-state flags in the form of a bit mask
A pointer to the total number of ADC scans acquired (or available) in the current transfer
No error
Appendix B,
887095
Personal Daq User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-daq-55Omb-daq-56

Table of Contents