12-19-2018 09:53 AM
I have a case structure with a string type selector. So I need a default case.
All the instructions say to right click on the selector and click the "Make this the default case"
label. It does not show up when I do this. My LabView is Version 18.0f2 (64 bit)
Solved! Go to Solution.
12-19-2018 10:03 AM - edited 12-19-2018 10:03 AM
Start by wiring your string to the Case Selector terminal. It looks like the wire did not correctly connect because your case selector is green indicating a Boolean type instead of magenta which would indicated a string.
After that, you should see the "Make this the default case" appear in the drop-down menu.
12-19-2018 10:03 AM
It looks like you did NOT wire the string to the case selector. The case selector should turn pink to match that of a string data type. It actually looks like there is a tunnel underneath the case selector. Fix your wiring and it should do what you want.
12-19-2018 10:03 AM
Your case selector is green. That means it is a boolean. There is no default because yo have to choices. True, False.
Wire up a string, numeric, or enum if you want something that will have a default case.
12-19-2018 10:04 AM
Hi,
the String Input tunnel is hidden under the boolean case selector. So you didn't have an string case selector. The color of the case selector input is green, and that's boolean. Boolean doesn't need a default case. If it is a string type selector, it would be pink/red....
Regards
Kay
12-19-2018 10:11 AM
Awesome, thanks