Omega OMB-DAQ-54 User Manual page 144

Usb data acquisition modules
Table of Contents

Advertisement

DLL Function
daqAdcSetFilter(DaqHandleT handle, DaqAdcFilterType filterType, DWORD
filterWindow);
daqAdcSetFilter(DaqHandleT handle, DaqAdcFilterType filterType, DWORD
C
filterWindow);
VbdaqAdcSetFilter&(ByVal handle&, ByVal filterType&, ByVal filterWindow&)
Visual BASIC
DaqAdcGetScan( handle:DaqHandleT; filterType:DaqAdcFilterType;filterWindow:DWORD
Delphi
)
Parameters
handle
filterType
filterWindow
Returns
DerrNoError - No error
See Also
Program References
None
Used With
PersonalDaq
Description
daqAdcSetFilter sets the driver to perform filtering for analog channels. The filterType parameter specifies the filter method to
be used. Once this function is set, filtering will be performed on all analog channels in the scan group. Note that the filterWindow
parameter specifies the number of scans over which the filtering method is to be applied.
DLL Function
daqAdcSetFreq(DaqHandleT handle, FLOAT freq);
C
daqAdcSetFreq(DaqHandleT handle, FLOAT freq);
VBdaqAdcSetFreq&(ByVal handle&, ByVal freq!)
Visual BASIC
Delphi
daqAdcSetFreq(handle:DaqHandleT; freq:single)
Handle
Parameters
Freq
DerrNoError
Returns
See Also
daqAdcGetFreq, daqAdcSetRate
Program References
None
All devices
Used With
Description
daqAdcSetFreq calculates and sets the frequency of the acquisition clock using the frequency specified in Hz. The frequency specified is
the rate at which channel scans are collected. This rate represents the interval at which each channel scan group is collected. The rate
specified must be less than or equal to the maximum frequency for which the currently defined channel scan configuration can run. The
maximum rate can be retrieved via the daqAdcGetFreq or daqAdcSetRate commands. If a rate is specified which is greater than the
maximum frequency at which the current channel configuration will allow the driver will automatically set the rate to the maximum allowable.
Personal Daq User's Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
daqAdcSetFilter
Handle to the device for which to get the current scan configuration.
Specifies the type of analog filtering to be performed (currently DaftSWAvg)
Specifies the number of scans over which to filter
daqAdcSetFreq
Handle to the device for which the ADC acquisition frequency is to be set.
The sampling frequency in Hz; Valid values: 100000.0 - 0.0002
No error
Appendix B,
887095
(also, refer to API Error Codes on page page B-33)
API Commands
B-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-daq-55Omb-daq-56

Table of Contents