02-23-2006 09:29 PM
02-23-2006 09:35 PM
02-24-2006 12:00 AM
The easiest thing I can think of is to use the Select function. Wire the boolean control into the selector input of the Select function. For the True value of the Select function, use a string constant with the value "default". For the false value of the Select function, use the wire that you current have going into the case selector. Then wire the output of the Select function to the case selector. You can find the Select function on the Comparison palette.
Hope this helps,
-D
02-24-2006 01:37 AM
thx Darren !
But your method seems to work only when there is one shortcut menu with one button.
And in my vi, there are more than four shortcut menus .Two of them associated with two button .I want the two buttons do the same case function as the shortcut menus do.For example, there are "one""two"three"and"four" shortcut menus connect to the case structure,and on the other side there are "one" and "two " buttons .how can i associated the "one" and "two " buttons to the"one""two" shortcut menus!
sorry for my poor english!
02-24-2006 10:52 AM - edited 02-24-2006 10:52 AM
Couldn't you just use two select functions in this case?
-D
Message Edited by Darren on 02-24-2006 10:52 AM
02-25-2006 07:37 AM