LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot use static control reference to drive case statement

Solved!
Go to solution

Hi All,

 

So I have some buttons on my panel. The buttons tell one event case to turn on and off a function generator. (VISA USB port)

 

When I close the panel, I want to make sure to turn these outputs back off, so in my close window event case I try to do that by creating a reference to the button, and using that reference to drive a T/F case that if true (button is on) would turn the outputs off. However for some reason the case statement does not like using the reference as a control? picture below:

LucasM292_0-1578002789723.png

LucasM292_1-1578002816216.png

0 Kudos
Message 1 of 2
(2,642 Views)
Solution
Accepted by topic author LucasM292

of course after fighting this for days, 1 minute after posting i finally find the solution. Please see below, needed to use the "reference properties" box to get the actual value out.

 

LucasM292_0-1578003223690.png

Message 2 of 2
(2,628 Views)