LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing checkboxes to sub VIs

I'm passing checkboxes (i've tried switching to toggle switches) to a sub-vi.  When the sub-vi front panel is open, the values pass correctly but when the sub-vi front panel is closed they do not.  I first tried passing a cluster of booleans and then separate booleans and I'm seeing the same effect.  Any ideas why this might happen?
 
 
0 Kudos
Message 1 of 3
(2,579 Views)
The values are passed in whether the front panel is open or closed. Are you opening the front panel after you've run the VI? If so, you won't see the subVI's front panel reflect what values were passed in. This is normal, and the way LabVIEW works. Check the User Manual on this. Or, are you saying that in the subVI you check the values and see that you're not getting the same values as on your main VI?
0 Kudos
Message 2 of 3
(2,564 Views)
No ideas and it shold not make a difference.  Can you post a small chunk of code that shows the issue?
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 3 of 3
(2,563 Views)