|
Re: Labview Joystick Buttons...
If the case with two constants works for you, then may I suggest looking at the ternary assignment -- a fancy name for the ? : operator in C. It is actually called the Select operator. LV puts it in the Comparison palette, and it is handy for selecting one of two values without the space and hidden constant of the case structure.
Of course this is just for readability, it is equivalent at runtime.
Greg McKaskle
|