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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 166
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 108
TempBook Users Manual
Enhanced
API Programming Models (TempBook) 10-13
ret& = VBdaqWaitForEvent(handle&,DteAdcData&)
New data has been transferred - Check status
ret& = VBdaqAdcTransferGetStat&(handle&,active&,retCount&)
Code may be placed here which will process the buffered data or
perform other application activities.
At some point the application needs to determine the event on which
the direct-to-disk acquisition is to be halted and set the
acqTermination flag.
Loop While acqTermination& = 0
At this point the application is ready to terminate the acquisition to disk. The following line will terminate
the acquisition to disk and will close the disk file.
ret& = VBdaqAdcDisarm&(handle&)
The acquisition as well as the data transfer has been stopped. We should check status one more time to get
the total number of scans actually transferred to disk.
ret& = VBdaqAdcTransferGetStat(handle&,active&,retCount&)
The specified disk file is now available.
The
retCount&
parameter will indicate the total number of
scans transferred to disk.
Przeglądanie stron 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 165 166

Komentarze do niniejszej Instrukcji

Brak uwag