Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Control Reference/Property Node and "Create VI" incompatible?

Solved!
Go to solution

Hi,

I have encountered this problem a few times already and although I was able to work around it up to now, I'd really like to understand what it is due to:

If I have an image display control on the front panel  (the IMAQ Vision type, not the Picture control) and drop a property node or a reference to it on the Block diagram, it seems impossible to create a subVI from the diagram if the selected objects comprise either an image property node or an image reference. Selecting "Create SubVI" won't don anything, period. No warning message, no system beep, no nothing.

A related issue is that if I have an Image Display control reference on the diagram and try to create a control from it (for instance to use as a control input on a VI connector pane), same thing, "Create Control" won't do anyhting.

Why is that?

Thanks for your feedback.

X.

Message 1 of 11
(8,280 Views)
Solution
Accepted by topic author X.

Xavier,

 

This was reported to R&D (35835) for further investigation. A possible workaround is to make the subVI in LabVIEW 7.1 and open it in the newer version of LabVIEW.

--Michelle

National Instruments
0 Kudos
Message 2 of 11
(8,243 Views)

Still pending in LV 2013 SP1. Any chance that has been fixed in LV 2015?

0 Kudos
Message 3 of 11
(7,617 Views)

/bump

 

Not fixed in LV2014 atleast. Hopefully in 2015 but would not believe so.

 

However as a work around I pass the reference around as a variant instead (that works)

0 Kudos
Message 4 of 11
(7,393 Views)

Nope, still well and alive in LV 2015.

0 Kudos
Message 5 of 11
(7,381 Views)

will you do solve this poblem? it is really a big necessity.

0 Kudos
Message 6 of 11
(7,169 Views)

It has been introduced in LV 8 (if I understand Michelle_N's answer of 8+ years ago) and is still not fixed in LV 2016. What's your bet?

0 Kudos
Message 7 of 11
(7,166 Views)

Thanks X.

I was pulling my hair out bundling all my controls references together and it would not allow me to create a control.

Luckily my Image control was the last in the Bundle and the first one I removed then control creation worked.

Googled and your post was at the top of the heap and now I know why (LabVIEW 2015).

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 8 of 11
(5,866 Views)

Hi.

You don't need to install LV7.1 and create new VI and transform to new version of LV.

Use Type Cast function to convert vision image reference to U32 number, wire to subVI by connector pane, and use Type Cast to reference back. See image below.

 

how_to_share_vision_image_ref_by_conector_pane.png

 

0 Kudos
Message 9 of 11
(5,574 Views)

An easy method is to create the reference to the image display (in the block diagram), then drag the reference from the block diagram to the front panel. The reference control will appear there.

Message 10 of 11
(5,120 Views)