Measurement-computing Personal Daq rev.6.0 Instrukcja Użytkownika Strona 134

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

Komentarze do niniejszej Instrukcji

Brak uwag