Omega OMB-DAQ-54 User Manual page 141

Usb data acquisition modules
Table of Contents

Advertisement

DLL Function
daqAdcRdScanN(DaqHandleT handle, DWORD startChan, DWORD endChan, PVOID buf,
DWORD scanCount, daqAdcTriggerSource triggerSource, BOOL rising, FLOAT level, FLOAT
freq, daqAdcGain gain, DWORD flags);
C
daqAdcRdScanN(DaqHandleT handle, DWORD startChan, DWORD endChan, PVOID buf,
DWORD scanCount, DaqAdcTriggerSource triggerSource, BOOL rising, FLOAT level, FLOAT
freq, DaqAdcGain gain, DWORD flags);
VBdaqAdcRdScanNSingle&(ByVal handle&, ByVal startChan&, ByVal endChan&, buf!(),
Visual BASIC
ByVal ScanCount&, ByVal triggerSource&, ByVal rising&, ByVal level!, ByVal Freq!,
ByVal gain&, ByVal flags&)
Delphi
daqAdcRdScanN(handle:DaqHandleT; startChan:DWORD; endChan:DWORD; buf:pointer;
scanCount:DWORD; triggerSource:daqAdcTriggerSource; rising:longbool; level:single;
freq:single; const gain:daqAdcGain; flags:DWORD)
handle
Parameters
startchan
endchan
buf
scanCount
triggerSource
rising
level
freq
gain
flags
Returns
DerrInvGain
DerrInvChan
DerrInvTrigSource
DerrInvLevel
DerrFIFOFull
DerrNoError
See Also
daqAdcRd, daqAdcRdN, daqAdcRdScan,
None
Program References
Used With
All devices
Description
daqAdcRdScanN reads multiple scans from multiple A/D channels. This function will configure the pacer clock, arm the trigger and acquire
count scans consisting of each channel, starting with startChan and ending with endChan. The gain setting will be applied to all
channels. The freq parameter is used to set the acquisition frequency. See ADC Flags Definition table for channel flags parameter
definition.
B-8
API Commands
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqAdcRdScanN
Handle to the device from which ADC scans are to be acquired
The starting channel of the scan group (see table at end of appendix)
The ending channel of the scan group (see table at end of appendix)
An array where the A/D scans will be placed
The number of scans to be read ; Valid values: 1 - 65536
The trigger source (see table at end of appendix)
Boolean flag to indicate the rising or falling edge for the trigger source
The trigger level if an analog trigger is specified; Valid values: 0 -4095
The sampling frequency in Hz; Valid values: 100000.0 - 0.0002
The channel gain (See tables at end of appendix).
Channel configuration flags in the form of a bit mask.
Invalid gain
Invalid channel
Invalid trigger
Invalid Level
Buffer Overrun
No error
daqAdcSetClock, daqAdcSetTrig
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