![background image](http://html1.mh-extra.com/html/omega/omb-daq-54/omb-daq-54_user-manual_3939920165.webp)
B-32 API Commands
Appendix B,
887095
Personal Daq User’s Manual
Table 7.
ADC Miscellaneous Definitions
ADC Flag Definitions -
daqAdcFlag
Analog/High Speed Digital Flag
Single Ended/Differential Flag
Single-Ended Channel Flag
DafAnalog
00h DafSingleEnded 00h DafSingleEndedLow
0000h
DafScanDigital
*
01h DafDifferential
08h DafSingleEndedHigh
1000h
Measurement Durations
Digital/Frequency Channel Types
Thermocouple Types
DafMeasDuration610 000000h
DafDioDirect
*
00000h DafTcTypeJ
080h
DafMeasDuration370 100000h
DafCtrPulse
*
20000h DafTcTypeK
100h
DafMeasDuration310 200000h
DafCtrTotalize
*
40000h DafTcTypeT
180h
DafMeasDuration130 300000h
DafCtrFreq
*
80000h DafTcTypeE
200h
DafMeasDuration110 400000h
DafCtrDutyLo
*
100000h DafTcTypeN
280h
DafMeasDuration40 500000h
DafCtrDutyHi
*
200000h DafTcTypeS
380h
DafMeasDuration20 600000h
DafTcTypeR
400h
DafMeasDuration12_5 700000h
DafTcTypeB
480h
Frequency vs Period –
daqAdcRateMode
ADC Acquisition Mode Definitions -
daqAdcAcqMode
ADC Transfer Mask Definitions -
daqAdcTransferMask
DarmPeriod 0
DaamNShot
0
DatmCycleOff
00h
DarmFrequency 1
DaamNShotRearm
1 DatmCycleOn
01h
DaamInfinitePost
2
DatmUpdateBlock
00h
DaamPrePost
3
DatmUpdateSingle
02h
DatmUserBuf
00h
DatmSavePreTrig
20h
DatmIgnoreOverruns
10h
DatmDriverBuf
08h
ADC Clock Source Definitions
daqAdcClockSource
ADC File Open Mode Definitions
daqAdcOpenMode
ADC Acquisition/Transfer Active Flag Definitions
daqAdcActiveFlag
DaomAppendFile
0
DaafAcqActive
01h
DaomWriteFile
1
DaafAcqTriggered
02h
DaomCreateFile
2
DaafTransferActive
04h
ADC Acquisition State -
daqAdcAcqState
ADC Buffer Transfer Mask -
daqAdcBufferXferMask
ADC Filter Type -
daqAdcSetFilter
DaasPreTrig 0
DabtmWait
00h
daftSWAvg
1
DaasPostTrig 1
DabtmRetAvail
02h
DabtmNoWait
04h
DabtmRetNotDone 08h
DabtmPreTrigBlock
10h
Table 8.
Setting Options
optionType
DcotpdaqRising
0
Sets the rising flag for the Pulse Channel
DcotpdaqDebounceTime 1
Sets the debounce time for the Freq/Pulse Channel
DcotpdaqMinFreq 2
Sets the min freq range for the Freq Channel
DcotpdaqMaxFreq 3
Sets the max freq range for the Freq Channel
DcotpdaqPulses
4
Sets the specified Freq/Pulse channel as Pulse Count
DcotpdaqFreqRes 5
Sets the resolution of the Freq Channel
DcotpdaqRunningCal
7
Sets the running calibration flag for the system
DcotpDaqOverrangeProtect 8
Enables the over range protection mode
optionValue
DcovEdgeRising
*
00h
Sets the edge sensing to rising for the Pulse/Freq Channel
DcovDutyHigh
*
02h
Sets the Pulse Channel to Duty Cycle High
DcovEdgeFalling
*
08h
Sets the edge sensing to falling for the Pulse/Freq Channel
DcovDutyLow
*
0Ah
Sets the Pulse Channel to Duty Cycle Low
DcovPulseTotalize
*
10h
Sets the Pulse Channel to Totalize
DcovPulseCount
*
00h
Sets the Channel as Pulse Count (Default)
Debounce Settings
DcovDebounce0
*
00h
Set Debounce to 0 us for the Pulse/Freq channel
DcovDebounce600
*
01h
Set Debounce to 600 us for the Pulse/Freq channel
DcovDebounce2500
*
02h
Set Debounce to 2500 us for the Pulse/Freq channel
DcovDebounce10000
*
03h
Set Debounce to 10000 us for the Pulse/Freq channel
*
Note
:
The Asterisks in the preceding tables indicate that the definitions do not apply to Personal Daq/54
.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com