Omega OMB-DAQ-54 User Manual page 137

Usb data acquisition modules
Table of Contents

Advertisement

DLL Function
daqAdcDisarm(DaqHandleT handle);
daqAdcDisarm(DaqHandleT handle);
C
Visual BASIC
VBdaqAdcDisarm&(ByVal handle&)
Delphi
daqAdcDisarm(handle:DaqHandleT)
handle
Parameters
Returns
DerrNoError - No error
daqAdcArm
See Also
Program References
None
Used With
All devices
Description
daqAdcDisarm allows you to disarm an acquisition if one is currently active.
If the specified trigger event has not yet occurred, the trigger event will be disabled and no acquisition will be performed.
If the trigger event has occurred, both the acquisition and the transfer of data come to a halt.
daqAdcGetFreq(DaqHandleT handle, PFLOAT freq);
DLL Function
daqAdcGetFreq(DaqHandleT handle, PFLOAT freq);
C
Visual BASIC
VbdaqAdcGetFreq&(ByVal handle&, freq!)
daqAdcGetFreq(handle:DaqHandleT; var freq:single)
Delphi
handle
Parameters
freq
DerrNoError - No errors
Returns
See Also
daqAdcSetFreq, daqAdcSetClock
None
Program References
Used With
All devices
Description
daqAdcGetFreq reads the sampling frequency of the pacer clock.
daqAdcGetScan(DaqHandleT handle, PDWORD channels, daqAdcGain *gains, PDWORD flags,
DLL Function
PDWORD chanCount);
daqAdcGetScan(DaqHandleT handle, PDWORD channels, DaqAdcGain *gains, PDWORD flags,
C
PDWORD chanCount);
Visual BASIC
VbdaqAdcGetScan&(ByVal handle&, channels&(), gains&(), flags&(), chanCount&)
daqAdcGetScan( handle:DaqHandleT; channels:PDWORD; gains:daqAdcGainP; flags:PDWORD;
Delphi
chanCount:PDWORD )
Parameters
handle
channels
*gains
flags
chanCount
DerrNoError
Returns
daqAdcSetScan, daqAdcSetMux
See Also
Program References
None
Used With
All devices
Description
daqAdcGetScan reads the current scan group consisting of all channels currently configured. The returned parameter settings directly
correspond to those set using the daqAdcSetScan function. For further description of these parameters, refer to daqAdcSetScan. See
ADC Flags Definition table for channel flag definitions.
B-4
API Commands
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqAdcDisarm
handle to the device to disable ADC acquisitions
daqAdcGetFreq
Handle to the device for which to get the current frequency setting
A variable to hold the currently defined sampling frequency in Hz
Valid values: 100000.0 - 0.0002
daqAdcGetScan
Handle to the device for which to get the current scan configuration.
An array to hold up to 512 channel numbers or 0 if the channel information is not desired.
An array to hold up to 512 gain values or 0 if the channel gain information is not desired
Channel configuration flags in the in the form of a bit mask
A variable to hold the number of values returned in the chans and gains arrays
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