02-17-2016 09:41 AM
02-17-2016 09:42 AM
02-17-2016 09:42 AM - edited 02-17-2016 09:43 AM
@Pavel_47 wrote:In my version it looks like this
I opened your code in my 2015 and the option is there. Make sure you don't have any coercion dots in your code as your State control is passed around. If the case structure thinks you're just wiring a numeric, it won't understand that your enum has different states to add.
Edit: wow, four replies in under a minute. As dkfire suggested, maybe you already have all the cases added since you posted your code.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-17-2016 09:52 AM
Yes I've all cases are added into case structure.
So this option appears only if some case are missed ?
02-17-2016 09:54 AM - edited 02-17-2016 09:55 AM
Yup. You'll also get an error if you have a case that is no longer present in the enum. LabVIEW understands that you may not want to have a case for every option (hence a Default option), but won't let you have more cases than the enum has.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-17-2016 09:58 AM
Ok, clear.
Thanks