05-11-2009 08:22 AM
Hi,
I added a new case structure in my VI. However, after added, there is an error which I really have no idea how to solve it.
The error message :
"Case Structure: selector values are not unique"
"A selector value is used by more than one case. It may be in the middle of a range in one of the cases."
Anybody could help me please.
Thank you.
Firdaus
Solved! Go to Solution.
05-11-2009 08:29 AM
Hi,
It depends of the cases that you use. But the error it is that you have two case same ( for example 2 times case 'A', or if numeric 2 times '1' ...).
U can post also a VI with only your case structure so we will able to answer quickly.
Greg
05-11-2009 08:29 AM
05-11-2009 08:31 AM - edited 05-11-2009 08:32 AM
Please post your code as an attachment. Seeing your code will make it a lot easier for us to understand your problem.
The error relates to the distinction between each frame of your case structure. You might have two case frames which launch for the same case selector input.
For example, if I had three case frames which were "0..", "1", "Default", then frames 1 & 2 would both launch if the input was 1 (this is not allowed). Check you statement definitions carefully.
05-11-2009 08:33 AM - edited 05-11-2009 08:37 AM
Hi ALL,
Please refer to attachment.
Thanks.
Firdaus
05-11-2009 08:36 AM
05-11-2009 08:37 AM
Hi ALL
I found the mistakes already.
I have two same case structure.
Thanks a lot for your help.
Firdaus