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: 

Case structure, case selector numerical control.

Solved!
Go to solution

Hello all,

 

 I want to know how can i change numerical values inside case selector in case structure using numerical control. Example: I want to make a LabView program that alert me if the temperature is below the minimum or above the maximum temperature using case structure. Also i want numerical control to change Max and Min temperatures inside the case selector.  

 

Thanks is advance.

Download All
0 Kudos
Message 1 of 4
(3,633 Views)

Sounds like you might want to implement a state machine. The enumerated type is saved as a control, which makes it easier if you want to edit it with additional states later.

0 Kudos
Message 2 of 4
(3,627 Views)
Solution
Accepted by joe1997

You can only edit the values for the cases of a case structure during edit mode (ie from within the block diagram). You'll have to use "bigger than", "less than", and/or "in Range" to check for these three cases with variable limits.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 3 of 4
(3,618 Views)

Thanks this worked 🙂

0 Kudos
Message 4 of 4
(3,572 Views)