Omega OMB-DAQ-54 User Manual page 146

Usb data acquisition modules
Table of Contents

Advertisement

daqAdcSetScan(DaqHandleT handle, PDWORD channels, daqAdcGain *gains, PDWORD flags,
DLL Function
DWORD chanCount);
C
daqAdcSetScan(DaqHandleT handle, PDWORD channels, DaqAdcGain *gains, PDWORD flags,
DWORD chanCount);
Visual BASIC
VBdaqAdcSetScan&(ByVal handle&, channels&(), gains&(), flags&(), ByVal chanCount&)
Delphi
daqAdcSetScan(handle:DaqHandleT; channels:PDWORD; gains:daqAdcGainP; flags:PDWORD;
chanCount:DWORD)
Handle
Parameters
Channels
*gains
Flags
ChanCount
Returns
DerrNotCapable
DerrInvGain
DerrInvChan
DerrNoError
daqAdcGetScan, daqAdcSetMux
See Also
ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DAQEX.FRM (VB), DAQEX.PAS (Delphi)
Program References
Used With
All devices
Description
daqAdcSetScan configures a scan group consisting of multiple channels. As many as 8192 channel entries can be made in the scan group
configuration. Any analog, frequency, counter or digital input channel can be included in the scan group configuration at any valid gain
setting. Scan group configuration may be composed of local or expansion module channels.
The channels parameter is a pointer to an array of up to 8192 channel/device values. Each entry represents a channel/device number in
the scan group configuration. Channel/device combinations can be entered multiple times at the same or different gain setting.
The gains parameter is a pointer to an array of up to 8192 gain settings. Each gain entry represents the gain to be used with the
corresponding analog channel entry. Gain entry can be any valid gain setting for the corresponding channel.
The flags parameter is a pointer to an array of up to 8192 channel flag settings. Each flag entry represents a 4-byte-wide bit map of
channel configuration settings for the corresponding channel entry. The channel flags can be used to set channel specific configuration
settings. See the Channel Configuration Flags Definition table for valid channel flag values.
The chanCount parameter represents the total number of channels in the scan group configuration. This number also represents the
number of entries in each of the channels, gains and flags arrays.
Personal Daq User's Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqAdcSetScan
Handle to the device for which ADC scan group is to be configured
An array of up to 512 channel numbers
An array of up to 512 gain values
Channel configuration flags in the form of a bit mask
The number of values in the chans and gains arrays Valid values: 1 -512
No high speed digital
Invalid gain
Invalid channel
No error
Appendix B,
887095
API Commands
B-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-daq-55Omb-daq-56

Table of Contents