LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control the visibility from multiples vi's

Solved!
Go to solution
I need to control the visibility ('visible' property) of 3 controls (one flag and two intergers) from multiples vi's. Does anybody have a pratical example how to do it?
rgds,
Haroldo - Brasil
LV 7.0
0 Kudos
Message 1 of 7
(2,996 Views)

Hi Haroldo,

 

use references as in attached example...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,994 Views)
Thank you for your promtly reply but I forgot to say that my LabView is 7.0 so was not possilble to open it.
rgds,
Haroldo - Brasil
LV 7.0
0 Kudos
Message 3 of 7
(2,980 Views)

Hi Haroldo,

 

I would suggest to put this info into your signature, so you will never forget to mention this Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(2,965 Views)

Thank you again for your patience!

 

Yes, the visibility of the controls works but I can not say the same about the value of it, I mean, I was not able to modify their values to make then usable for other VIs. I tried by including the 'value property' but the wire became a 'variant' and I can not void that.

 

Could you please go a bit futher with another tip?

 

Rgds,

rgds,
Haroldo - Brasil
LV 7.0
0 Kudos
Message 5 of 7
(2,938 Views)
Solution
Accepted by topic author Haroldo-Itap-Br

Hi Haroldo,

 

this problem arises because of building an array of references from different types of controls (regarding datatype). You have to work with variant OR you have to convert the reference for each control "to more specific class" (found in application control palette). Then you can wire the correct datatype to the value property node...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 7
(2,926 Views)

Like we say around here: goool! Smiley Very Happy

I took the "to more specific class" way.

 

Many Thanks!

rgds,
Haroldo - Brasil
LV 7.0
0 Kudos
Message 7 of 7
(2,902 Views)