05-21-2024 03:50 PM
Hello
I have a problem with a project with DQMH. When I select a portion of the code to create a sub vi it doesn't appear so I have to go to the project and open the sub vi, when I save it the code portion select is not replaced by the subvi.
And inside the subvi I have a object reference that I want to change to a control but when I try to do it the constant keep as a constant.I've tried different ways to create a object control but the only way that is working for me is selecting it since front panel.
I have no idea why it is happening due in other projects this feautures works correctly. I use labview 2021 64 bits
I've added the version and the example of the reference taht I want to change to a control
Solved! Go to Solution.
05-21-2024 06:02 PM
Hi Alfredo,
This is a known bug that prevents creating a control from an IMAQ image control reference. See here.
You have to use a generic control refnum instead and do the appropriate cast to class "ImageControl" when needed.
Regards,
Raphaël.