LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous events - DAQmxRegisterEveryNSamplesEvent

Hello,

I am writing a data acquisition application using an 18-bit PCI-6281 A/D board, on Windows XP using Borland C++ Builder 6.

The documentation for DAQmxRegisterEveryNSamplesEvent says that if the DAQmx_Val_SynchronousEventCallbacks flag is used, then the event callbacks will occur in the thread that registered the event, if messages are being processed. The "message processing" mention in the documentation seems rather vague to me, since it doesn't describe which Windows messages should be processed. So far I have been unable to find any further documentation or code examples that show how to use synchronous events.

My question is, how can I set up the "message processing" to use synchronous events? Any help would be appreciated.

Thanks very much,
Markus Svilans.

0 Kudos
Message 1 of 2
(2,481 Views)
Please ignore this message, I accidentally posted it in the wrong section. (So much for getting it right the first time 😉

Regards,
Markus.

0 Kudos
Message 2 of 2
(2,478 Views)