Hi, this is probably a pretty easy question, but I couldnt find the answer when searching for it.
I have an enum control on my front panel like so
And it controls one portion of my program that is set up as a state machine. Two of those states I do not want to be user-accessible, so I would like to remove those options from the control, however if i simply remove them from control, it makes my case statement in my state machine all messy (instead of the case being Process, it is called 3 and if I rename it Process, the VI breaks). I know you can disable enum options like so
but I would rather that the greyed out values simply be invisible. Of course I could make a new enum (without the two values) and use a case statement to convert that to the current enum...but I think that would come pretty close to the realm of rube goldberg code...
any suggestions for a more elegant solution would be appreciated,
thanks a lot!
Message Edited by jrpe on
11-20-2007 11:35 AM
Jeff
Using Labview 7 Express