Omega OMB-DAQ-54 User Manual page 135

Usb data acquisition modules
Table of Contents

Advertisement

Prototype Commands, Listed by Function Type (as defined in driver header files)
Function
Device Initialization Prototypes
daqOpen
daqOpenList
daqClose
daqCloseList
daqOnline
daqGetDeviceCount
daqGetDeviceList
daqGetDeviceProperties
Error Handler Function Prototypes
daqSetDefaultErrorHandler
daqSetErrorHandler
daqProcessError
daqGetLastError
daqDefaultErrorHandler
daqFormatError
Event Handling Function Prototypes
daqSetTimeout
daqWaitForEvent
daqWaitForEvents
Utility Function Prototypes
daqGetDriverVersion
Expansion Configuration Prototypes
daqSetOption
Custom ADC Acquisition Prototypes - Scan Sequence
daqAdcSetMux
daqAdcSetScan
daqAdcGetScan
Custom ADC Acquisition Prototypes - Trigger
daqAdcSetTrigEnhanced
Custom ADC Acquisition Prototypes - Scan Rate and Source
daqAdcSetRate
daqAdcSetFreq
daqAdcGetFreq
Custom ADC Acquisition Prototypes - Scan Count, Rate and Source
daqAdcSetAcq
Custom ADC Acquisition Prototypes - Direct-to-Disk
daqAdcSetDiskFile
Custom ADC Acquisition Prototypes - Acquisition Control
daqAdcArm
daqAdcDisarm
Custom ADC Acquisition Prototypes - Data Transfer without Buffer Allocation
daqAdcAcqGetStat
daqAdcTransferBufData
daqAdcTransferSetBuffer
daqAdcTransferStart
daqAdcTransferGetStat
daqAdcTransferStop
One-Step ADC Acquisition Prototypes
daqAdcRd
daqAdcRdScan
daqAdcRdN
daqAdcRdScanN
Data Format and Conversion Prototypes
daqAdcSetDataFormat
daqAdcSetFilter
daqCvtRawDataFormat
daqCvtSetAdcRange
General I/O Prototypes - Read/Write
daqIOReadBit
daqIORead
daqIOWriteBit
daqIOWrite
B-2
API Commands
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Description
Open a session with the Personal Daq
Open, initialize, and prepare devices (specified by the deviceList parameter)
End communication with the Personal Daq
Close devices opened by daqOpenList
Check online status of the Personal Daq
Return the number of currently configured devices
Return the list of currently configured devices
Return the properties of specified device
Set the default error handler
Specify a user defined routine to call when an error occurs in any command
Process a driver defined error condition
Return the last logged error condition
Call the default error handler
Return text string for specified error
Set the time-out value for the Personal Daq operation
Wait for specified Personal Daq device event
Wait for multiple specified Personal Daq device events
Return the software version
Set options for a device's channel/signal path configuration
Configure a scan specifying start and end channels
Configure up to 256 channels making up an A/D or HS digital input scan
Read the current scan configuration
Configure an A/D trigger with multiple trigger-event conditions
Configure the ADC scan rate with the mode parameter
Configure the pacer clock frequency in Hz
Read the current pacer clock frequency
Set acquisition configuration information
Specify the disk file for direct-to-disk transfers
Arm an acquisition
Disarm an acquisition
Returns current state of acquisition
Transfer scans from driver-allocated buffer to user-specified buffer
Setup a destination buffer for an ADC transfer
Start an ADC transfer
Retrieve status of an ADC transfer
Stop an ADC transfer
Configure an A/D acquisition and read one sample from a channel
Configure an A/D acquisition and read one scan
Configure an A/D acquisition and read multiple scans from a channel
Configure an A/D acquisition and read multiple scans
Set the raw and post-acquisition data formats
Sets the driver to perform filtering of analog channels
Convert raw data to a specified format
Set the ADC Voltage Range for the conversion routines
Read a DIO bit (channel)
Read a DIO byte (8 channels)
Write a DIO bit (channel)
Write a DIO byte (8 channels)
Appendix B,
887095
Page
B-25
B-25
B-18
B-19
B-24
B-21
B-21
B-21
B-26
B-26
B-26
B-22
B-20
B-20
B-27
B-28
B-28
B-22
B-27
B-12
B-13
B-4
B-14
B-12
B-11
B-4
B-9
B-10
B-3
B-4
B-3
B-15
B-17
B-18
B-16
B-18
B-5
B-7
B-6
B-8
B-10
B-11
B-19
B-20
B-23
B-22
B-24
B-23
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