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.