LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to work around dataflow order in front panel simulation?

Oh, didn't realize that you didn't have to go into the Control Editor to replace the boolean controls. I knew that you could add buttons without having to customize the control, and when you think about it it does make sense since the datatype is an enum. I guess I'm just so used to going into the Control Editor whenever I change the look and feel of a control that I automatically went in there to change the circular buttons to square buttons. Learn something new almost every day...
0 Kudos
Message 11 of 13
(1,001 Views)

Yes, that is one disadvantage of editing the radio buttons control on the panel directly is that any constants you've created off the control's terminal become stale.  So it might not be a bad idea to typedef a radio buttons control, and create all your constants based off that typedef, so that when you add/remove/edit items in the control, all enum constants you've created off that control will be updated automatically.

-D

0 Kudos
Message 12 of 13
(997 Views)

Thanks for the help, guys!  I've massaged Dennis' event structure example to get close to the goal.  Here's the next question:

In event [4] I want to flash an indicator while an event is active.  You can see in the attached vi that the "Probe Cold" indicator flashes when the operator selects "Low Freeze", but I've implemented the flash function as a brute force For loop that locks up the program until the loop counter hits max count.  What is the technique to generate some activity inside an event box that doesn't lock out event monitoring?

Jeff

Jeff
Climbing the Labview learning curve!
Sanarus Medical
Pleasanton, CA
0 Kudos
Message 13 of 13
(992 Views)