Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help using NI-488.2 with C++

"The problem I'm trying to solve is to ideally come up with a method of using NI-488.2 that can be used with WaitForMultipleObjects() in my worker thread."

Sometimes my callback routine called SetEvent() and the waiting worker thread got it. Of course the worker thread should be the one to call CreateEvent().

If the waiting thread was a UI thread then my callback routine had to call PostMessage() instead. Then the UI thread had to be the one to call RegisterWindowMessage().
0 Kudos
Message 11 of 12
(936 Views)
I just wanted to notify you of the status. I have successfully gotten the NI-Device manuals on the website. I have attached the quick link below. Otherwise, you can do a normal search on ni.com for the manual.

http://digital.ni.com/manuals.nsf/display?ReadForm&lookup=Instrument%20Connectivity%3E%3EDevice%20Side%20Tools%20for%20OEM's&view=web_productcurrent&node=132090_US
0 Kudos
Message 12 of 12
(936 Views)