07-17-2015 05:02 PM
It's an enum, not a ring.
@GregFreeman wrote:
You sure it's a typedef enum and not a typedef ring? Not sure if this could cause duplicates, but maybe?
07-17-2015 05:17 PM
I have had this happen twice before. To fix it, I have had to unwire the enum from the case structure selector and wire a numeric constant instead. This will change all of the case structure enum values to numbers. I then check for a repeated number, which gives me an indication of where the problem is. After fixing the error, re-wire the enum and all of your case names will come back.
The last time this happened, after wiring the numeric to the case structure selector I immediately deleted the numeric and re-wired the enum back to the case selector. Then I checked the case values, and sure enough one of the enum definitions was repeated. This has happened so infrequently that it has been hard to pin down the exact sequence of events that causes this to occur, but it seems like the case structure occasional doesn't update when a change is made to the typedef'd enum.
Give it a shot and see if this helps you find your error.
07-17-2015 05:28 PM
Yes. Checked em all. They were fine.
07-17-2015 05:50 PM
Wow. What the heck. When I did this it:
It added ...
Nevermind. It was a dupe that I missed. Coulda swore! Ah well...move on.
Thanks all for your support! You were actually faster than Premier NI Support.
Best,
Jeff Francis
07-18-2015 06:14 AM
07-20-2015 07:50 AM
Screen shot of what? The problem is solved. It was just a dupelicate case. I just could have swore I checked all cases several times and saw no duplicate cases. I pulled a previouse version out of the repository and in that version there was a dupe. Senior moment maybe...?
@Bhagya wrote:
Can you take print screen and post it here?
07-20-2015 07:56 AM
This sounds close to what I saw. I'll accept this because I was starting to think I was crazy. Especially after I checked the case states 4 times. I hope NI addresses this. Some software bug causing gnashing of teeth and pulling of hair.
Best,
Jeff F.