Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Image with Overlays to LabView from VBAI by using shared variables

Hi. I am trying to send images from VBAI to LabView by using shared variables. I used set variables to set current image in corresponding network variable. I am able to read the image from LabView. However, the image is without overlays even though I used IMAQ Merge Overlay function. How can I get images with overlays in LabView from VBAI thanks to shared variables? Thank you in advance. 

0 Kudos
Message 1 of 12
(1,880 Views)

Hey! Came vi

0 Kudos
Message 2 of 12
(1,861 Views)

Thanks for answering. Snippet of Vi has been attached. savingImage.png

0 Kudos
Message 3 of 12
(1,850 Views)

Try to put a control screen (Image)  and see what's there. And after recording the image, the memory area needs to be cleared.Снимок экрана 2022-04-05 в 11.08.37.png

0 Kudos
Message 4 of 12
(1,771 Views)

P. S. Unfortunately I couldn't open it vi. I have LabView 2017

0 Kudos
Message 5 of 12
(1,841 Views)

I saved my VI as previous version. Are you able to open it right now attached VI?

0 Kudos
Message 6 of 12
(1,837 Views)

I think that SV is not the right thing to send images. I would use network streams.
Unfortunately I have no experience with VBAI. In poor LV with Vision I would proceed like this:

  1. define a cluster with image and ROI descriptor.
  2. Convert overlays to ROI and send clusters via NS.
  3. On receiver side use IMAQ Overlay ROI.vi.

An example (LV2020) is attached and also saved for LV2017.

Download All
0 Kudos
Message 7 of 12
(1,834 Views)

Overlays are created in VBAI and sent to LabView by Network Variables. Unfortunately, I have not seen anything like Network Stream in VBAI. 

0 Kudos
Message 8 of 12
(1,824 Views)

I think this solution will work

0 Kudos
Message 9 of 12
(1,811 Views)

Here is more detail

0 Kudos
Message 10 of 12
(1,802 Views)