Measurement-computing TempBook rev.3.0 Instrukcja Użytkownika Strona 125

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 166
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 124
daqCommand Reference (Enhanced API) 11
TempBook User’s Manual daqCommand Reference (
Enhanced
API) 11-1
Overview
The first part of this chapter describes the TempBook driver commands for Windows95 and WindowsNT in
32-bit Enhanced mode (this is the Enhanced API and is not to be confused with the Standard API). The
first table lists the commands by their function types as defined in the driver header files. Then, the
prototype commands are described in alphabetical order as indexed below. Note: The TempBook API is a
subset of the Daq* API which also applies to other products; only TempBook-related commands are
described here.
Beginning on page 11-35, several reference tables define parameters for: event-handling definitions,
hardware definitions, ADC trigger-source and miscellaneous definitions, WBK card definitions, the API
error codes, etc.
Function Description Page
Device Initialization Prototypes
daqOpen
Open a session with the Daq* (including TempBook) 11-28
daqClose
End communication with the Daq* (including TempBook) 11-20
daqOnline
Check online status of the Daq* (including TempBook) 11-28
daqGetDeviceCount
Return the number of currently configured devices 11-26
daqGetDeviceList
Return the list of currently configured devices 11-26
daqGetDeviceProperties
Return the properties of specified device 11-27
Error Handler Function Prototypes
daqSetDefaultErrorHandler
Set the default error handler 11-29
daqSetErrorHandler
Specify a user defined routine to call when an error occurs in any command 11-29
daqProcessError
Process a driver defined error condition 11-29
daqGetLastError
Return the last logged error condition 11-28
daqDefaultErrorHandler
Call the default error handler 11-25
daqFormatError
Return text string for specified error 11-26
Event Handling Function Prototypes
daqSetTimeout
Set the time-out value for the Daq* operation (including TempBook) 11-30
daqWaitForEvent
Wait for specified Daq* device event (including TempBook) 11-32
daqWaitForEvents
Wait for multiple specified Daq* device events (including TempBook) 11-32
Utility Function Prototypes
daqGetDriverVersion
Return the software version 11-27
daqGetHardwareInfo
Return the hardware version 11-27
Expansion Configuration Prototypes
daqSetOption
Set options for a device’s channel/signal path configuration 11-30
Custom ADC Acquisition Prototypes - Scan Sequence
daqAdcSetMux
Configure a scan specifying start and end channels 11-13
daqAdcSetScan
Configure up to 256 channels making up an A/D or HS digital input scan 11-14
daqAdcGetScan
Read the current scan configuration 11-5
Custom ADC Acquisition Prototypes - Trigger
daqAdcCalcTrig
Calculate the trigger level and trigger source for an analog trigger 11-4
daqAdcSetTrig
Configure an A/D trigger 11-15
daqAdcSoftTrig
Save a software trigger command to the DaqBook/DaqBoard 11-16
Custom ADC Acquisition Prototypes - Scan Rate and Source
dacAdcSetRate
Configure the ADC scan rate with the
mode
parameter 11-13
daqAdcSetFreq
Configure the pacer clock frequency in Hz 11-12
daqAdcGetFreq
Read the current pacer clock frequency 11-5
Custom ADC Acquisition Prototypes - Scan Count, Rate and Source
daqAdcSetAcq
Set acquisition configuration information 11-10
Custom ADC Acquisition Prototypes - Direct-to-Disk
daqAdcSetDiskFile
Specify the disk file for direct-to-disk transfers 11-12
Custom ADC Acquisition Prototypes - Acquisition Control
daqAdcArm
Arm an acquisition 11-2
daqAdcDisarm
Disarm an acquisition 11-4
Custom ADC Acquisition Prototypes - Data Transfer without Buffer Allocation
daqAdcTransferBufData
Transfer scans from driver-allocated buffer to user-specified buffer 11-16
daqAdcTransferSetBuffer
Setup a destination buffer for an ADC transfer 11-18
daqAdcTransferStart
Start an ADC transfer 11-19
daqAdcTransferGetStat
Retrieve status of an ADC transfer 11-17
Przeglądanie stron 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 165 166

Komentarze do niniejszej Instrukcji

Brak uwag