ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubPanels

Hello dear LabVIEW Users, would you please check this VI. On my PC it works how I want, but not an other one. Start the VI "SubPanels.vi" and try to create some new controls. Than change values of this controls. A dialog about new value should appear.
 
Thanks, Eugen
0 Kudos
Message 1 of 18
(4,073 Views)

Hi Eugen,

i can create the sub panels and change the value, but there is no information about changing the value. I´m using LV8.5 on WinXP.

Mike

0 Kudos
Message 2 of 18
(4,061 Views)
Thank you, I use lv8.0 , probably anything is changed on higher versions of LV. Can anybody say why it doesn't work?
 
Can anybody try it on lv8.0?
 
Thank you Mike
0 Kudos
Message 3 of 18
(4,053 Views)

Hi Eugen,

i think you have to wait in your sub vi´s for a valid reference of the MainUE. i think there are time differences. if you check for a valid referece in a while loop, then i think it will work. i try it in my copy.

Another point is that you close the reference of the created vi directly after open it. Why??

Mike



Message Edited by MikeS81 on 01-30-2008 10:08 AM
0 Kudos
Message 4 of 18
(4,047 Views)
Mike, I don't think it's a timing problem bekause I start the SubVI after setting value. I close the SubVI reference after starting them, because I don't need it. Is it wrong? Look the LV example (LV's example finder) "subpanels" . There the SubVI reference will be closed too.
0 Kudos
Message 5 of 18
(4,037 Views)

Hi Eugen,

i have changed somthing in the booelan vi and in the main vi. Hope it helps. I have saved it for 8.0. Now it works on my pc.

Mike



Message Edited by MikeS81 on 01-30-2008 10:13 AM
Message 6 of 18
(4,036 Views)
Thank you Mike, how many iterations do you see in the boolean subpanel? I see 0.
0 Kudos
Message 7 of 18
(4,032 Views)

Hi

yes you are right. i see 0, too. but that was the first point i have changed.

Mike

0 Kudos
Message 8 of 18
(4,030 Views)
If you see 0 too, than it is not the timing problem of setting value. Do it work with string and numeric subVI too?
0 Kudos
Message 9 of 18
(4,024 Views)

Hi Eugen,

now all three vi´s show the change value message. but i remove the close vi refnum function in the main vi.

Mike

Message 10 of 18
(4,021 Views)