12-20-2016 03:10 AM
Hi, SeanJ
I hope this will help you surely. Please find the attached Zip file.
Hope it helps,
Regards,
Dhans 😉
12-22-2016 07:18 AM
Hi Dhans,
Many thanks. Ctrl Refnum! I just couldn't think outside the box I put myself in. Arrgh!
Much appreciated.
Seán
12-22-2016 09:17 AM
03-15-2022 08:14 AM
Dhans,
How did you create the Ctl Refnum in "Untitled 8 (SubVI).vi"? I am having the same problem as the OP. I want to be able to pass a reference to an IMAQ image control from a caller VI into a subVI. See my modified version of your example code for the reason why. Right-clicking on an IMAQ image control to create a reference, then right-clicking on the reference and choosing "Create Control" does not create a refnum control. It does nothing. Also, LabVIEW will not allow me to create a subVI of a selected portion of code by using Edit->Create SubVI if the reference to the IMAQ image control is passed into the portion of code I want to create the subVI from. I'm using LV 2019, but have down-compiled the attached example into LV 2014.
Scott