Ducc Posted May 23, 2005 Report Share Posted May 23, 2005 I apologize in advance for my vocabulary; I'm not foreign, I just don't know what to call stuff. I have a case structure inside a loop (state machine), with the case selector wired to a list of available cases (you know, the dropdown box thing that everyone uses for state machines). I had Initialize, Clear Data, Run and Save Data in that list and the case structure showed the names at the top. Everything is good. Then I added "No Event" to the list and all of the sudden the case structure switched from names to numbers. So I undid what I just did to go back to the names, and this time I manually added the case to the case structure's list. The case appeared in red (is this bad?) but at least the name is written out. I can't get the list to include "No Event" (or anything) without the case structure going back to numbers. Is there a limit on the number of cases you can include before it only shows numbers? (um, I just put quotes around “No Event” when I placed it in the list. It didn’t go to zero but it didn’t show up in the case structure either. So I deleted the quotes and it worked. What’s up with this?) Quote Link to comment
Mark Balla Posted May 23, 2005 Report Share Posted May 23, 2005 II have a case structure inside a loop (state machine), with the case selector wired to a list of available cases (you know, the dropdown box thing that everyone uses for state machines). I had Initialize, Clear Data, Run and Save Data in that list and the case structure showed the names at the top. Everything is good. 4824[/snapback] I assume you are refereing to an ENUM type Then I added "No Event" to the list and all of the sudden the case structure switched from names to numbers. So I undid what I just did to go back to the names, and this time I manually added the case to the case structure's list. The case appeared in red (is this bad?) but at least the name is written out.I can't get the list to include "No Event" (or anything) without the case structure going back to numbers. Is there a limit on the number of cases you can include before it only shows numbers? (um, I just put quotes around Quote Link to comment
Ducc Posted May 24, 2005 Author Report Share Posted May 24, 2005 Yea, I didn't really understand that post. I figured out how to make it work, but I don't know why it does. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.