Personal Daq User’s Manual
Appendix B,
887095
API Commands B-29
API Reference Tables
These tables provide information for programming with the Personal Daq Application Programming
Interface. Information includes channel identification and error codes, as well as valid parameter values
and descriptions. The tables are organized as follows:
API Parameter Reference Tables
Table
Sub-Title/Parameter/Description
Page
1. daq Device Property Definitions -
daqGetDeviceProperties
Identifies the format (
DWORD
,
STRING
, or
FLOAT
) for property parameters
B-30
2. General I/O Definintions
(Does not apply to
Personal Daq/54)
Digital I/O Port Connection:
devPort – daqIODevicePort
I/O Port Type:
devType – daqIODeviceType
I/O Operation Code:
whichExpPort –daqIOExpansionPort
I/O Operation Code:
daqIOOperationCode
B-30
3. Event-Handling Definitions
Transfer Event Definitions -
daqTransferEvent
Transfer Event Wait Mode Definitions -
daqWaitMode
B-31
4. Hardware Version Definitions
daqHardwareVersion
B-31
5. Analog Gain Definitions
Identifies gain codes for Personal Daq base unit
B-31
6. Trigger Source Definitions
daqAdcTriggerSource
daqEnhTrigSensT
B-31
7. Miscellaneous Definitions
Scan Flag Definitions -
daqAdcFlag
Frequency vs Period -
daqAdcRateMode
Acquisition Mode Definitions -
daqAdcAcqMode
Transfer Mask Definitions -
daqAdcTransferMask
File Open Mode Definitions -
daqAdcOpenMode
Acquisition/Transfer Active Flag Definitions -
daqAdcActiveFlag
Acquisition State -
daqAdcAcqState
BufferTransfer Mask-
daqAdcBufferXferMask
B-32
8. Setting Options
optionType
optionValue
B-32
9. API Error Codes
Identifies API errors by number and description
B-33
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com