ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Window API Function CreateEvent Handle and LabVIEW

I have a frame grabber that uses the Windows CreateEvent function to create an event handle. This event is triggered when
a frame has been acquired and ready to be processed. Is it possible to respond to this triggered event within LabVIEW?

Any help would be greatly appreciated.
0 Kudos
Message 1 of 2
(3,808 Views)
If you have the event handle, you can use a call library node to call the WaitForSingleObject function in kernel32.dll. This will block until the event is set.
0 Kudos
Message 2 of 2
(3,803 Views)