LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing handles between LV and Python

In order to use a webcam with Labview, I have to resort to OpenCV using a Python Node then pass the collected image array back into Labview.  That is running fine and I can grab frames at video rates for machine vision applications. However, the startup is really slow so what I need to do is start it up and pass the handle to Labview to hold until it can pass it back to Python in order to grab another frame.

Is what I'm describing possible?  I expect it would have a startup VI, a 'grab a frame' VI, and a close-camera VI.  I've read about the data type limitations between LV and Python but I figure I can work that out unless the handle is not just an internal pointer (I'm not fluent in modern programming elements anymore)  Experimenting with (possibly) mangled handles sounds like a good way to have to reboot my PC constantly.

thanks

0 Kudos
Message 1 of 1
(689 Views)