B-4 API Commands
Appendix B,
887095
Personal Daq User’s Manual
daqAdcDisarm
DLL Function
daqAdcDisarm(DaqHandleT handle);
C
daqAdcDisarm(DaqHandleT handle);
Visual BASIC
VBdaqAdcDisarm&(ByVal handle&)
Delphi
daqAdcDisarm(handle:DaqHandleT)
Parameters
handle
handle to the device to disable ADC acquisitions
Returns
DerrNoError
- No error
See Also
daqAdcArm
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
DLL Function
daqAdcGetFreq(DaqHandleT handle, PFLOAT freq);
C
daqAdcGetFreq(DaqHandleT handle, PFLOAT freq);
Visual BASIC
VbdaqAdcGetFreq&(ByVal handle&, freq!)
Delphi
daqAdcGetFreq(handle:DaqHandleT; var freq:single)
Parameters
handle
Handle to the device for which to get the current frequency setting
freq
A variable to hold the currently defined sampling frequency in Hz
Valid values:
100000.0 - 0.0002
Returns
DerrNoError
- No errors
See Also
daqAdcSetFreq, daqAdcSetClock
Program References
None
Used With
All devices
Description
daqAdcGetFreq
reads the sampling frequency of the pacer clock.
daqAdcGetScan
DLL Function
daqAdcGetScan(DaqHandleT handle, PDWORD channels, daqAdcGain *gains, PDWORD flags,
PDWORD chanCount);
C
daqAdcGetScan(DaqHandleT handle, PDWORD channels, DaqAdcGain *gains, PDWORD flags,
PDWORD chanCount);
Visual BASIC
VbdaqAdcGetScan&(ByVal handle&, channels&(), gains&(), flags&(), chanCount&)
Delphi
daqAdcGetScan( handle:DaqHandleT; channels:PDWORD; gains:daqAdcGainP; flags:PDWORD;
chanCount:PDWORD )
handle
Handle to the device for which to get the current scan configuration.
channels
An array to hold up to 512 channel numbers or 0 if the channel information is not desired.
*gains
An array to hold up to 512 gain values or 0 if the channel gain information is not desired
flags
Channel configuration flags in the in the form of a bit mask
Parameters
chanCount
A variable to hold the number of values returned in the chans and gains arrays
Returns
DerrNoError
No error
See Also
daqAdcSetScan, daqAdcSetMux
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com