Measurement-computing Data Acquisition Systems rev.10.4 Instrukcja Użytkownika Strona 312

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 366
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 311
4.6-34 Daq API Command Reference 908594 Programmer’s Manual
daqWaitForEvent
Also See: daqWaitForEvents, daqSetTimeout
Format
daqWaitForEvent(handle, event)
Purpose
daqWaitForEvent waits on a specific event to occur on the specified device.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle of the device for which to wait of the specified event
event DaqTransferEvent
Specifies the event to wait on
Parameter Values
handle: obtained from the DaqOpen function
event: see table below
Parameter Type Definitions
daqEvent-(DaqTransferEvent)
Definition (daqEvent)
Description
DteAdcData
Data is present in the acquisition buffer
DteAdcDone
Acquisition data transfer operation is complete
Returns
DerrNoError No Error
Function Usage
The daqWaitForEvent function will not return until the specified event (event) has occurred or the wait has
timed out— whichever comes first. The event time-out can be set with the function.
Note: The default timeout is 5 seconds.
Prototypes
C/C++
daqWaitForEvent(DaqHandleT handle, DaqTransferEvent event);
Visual BASIC
VBdaqWaitForEvent&(ByVal handle&, ByVal daqEvent&)
Program References
DAQADCEX04.CPP, DAQADCEX05.CPP, DAQADCEX06.CPP, DAQEX.FRM (VB)
Przeglądanie stron 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 365 366

Komentarze do niniejszej Instrukcji

Brak uwag