LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview is not working correctly with some features

Solved!
Go to solution

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

Alfredo_VM_0-1716324488299.png

Alfredo_VM_1-1716324508734.png

Alfredo_VM_2-1716324581591.png

 

 

0 Kudos
Message 1 of 2
(144 Views)
Solution
Accepted by topic author Alfredo_VM

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.

Message 2 of 2
(121 Views)