LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Microsoft Overlapped IO and Micorsoft Event Handler under LabVIEW

I want to use and control, in LabVIEW, the Microsoft Overlapped IO capability in Asynchronous mode and I want also my VI in LabVIEW respond to Event generate by Microsoft during that overlapping process.
0 Kudos
Message 1 of 4
(3,671 Views)

You can communicate with the Win32.dll using a Call Library Function Node in LabVIEW.  The functions that you will need to call to utilize overlapped I/O are listed in the linked document.  As far as knowing how to call these functions, you will need to consult Microsoft or read through the MSDN files in the document below.  You may be able to communicate to the Windows Sockets through LabVIEW's DataSockets, but that is something I will need to look further into.  I am not too familar with the overlapped I/O capabilities, could you explain how this is used and why you need to use it for your application?  Thanks.

http://en.wikipedia.org/wiki/Overlapped_I/O

 

0 Kudos
Message 2 of 4
(3,638 Views)
Thanks MEgan for your feedback.
 
The needs for Overlapped IO and Event handling is base on using a 3rd party acquisition card which can transfer rapidly using these capability and I want to use it in LabVIEW which give me more freedom and ease to process data.  In fact it looks like the NI-SCOPE Stream to Disk Using Win32 File IO capability.
0 Kudos
Message 3 of 4
(3,630 Views)
To clarify what I stated earlier, you cannot use LabVIEW DataSockets for this application.  The only capability we provide is the Call Library Function node which can be used call the Windows dlls.  I hope that this can get you started, but if you have anymore questions, I would suggest contacting Microsoft support.  They should have more information on using asyncrhonous overlapped I/O and events.  Thanks! 
0 Kudos
Message 4 of 4
(3,614 Views)