LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.net picture box -> provide live preview to another VI?

Hi guys,

 

I have an IDS camera that I have to control through .NET to get all the functionality. From the manufacturer I have an example VI that creates a live image in a picture box. I want this image to be available (live) in another VI I'm running. Is that possible and if so, how?

0 Kudos
Message 1 of 2
(3,693 Views)

If you need your picture to be the only image display, connect it as a control for their VIs

 

If you need to clone image and see two images at the same time, then something like below.

Either get a reference to their picture and copy data in your subVI at your own rate or get your picture refnum into their vi and copy there at camera acquisition rate. Disable copying if you do not need that second vi all the time.

 

One performance note. Copying data (from camera buffer to display) might be implemented using bitmaps (image refnum in my VI). If you can find access to this image refnum in your camera VIs, you do not need to pull this image from master picture, you can copy it directly.

Copy picture box.png

0 Kudos
Message 2 of 2
(3,671 Views)