07-16-2009 08:27 AM
I am building a state machine that has a number of similar codes so I want to duplicate one case and make minor changes to it. It is a setup sequence that varies slightly between automated tests that I am running. I tried to simply duplicate the case and rearrange the sequence so that they would be in the correct order and then update the type def properties and the menu cluster. How do I update the case structure to include the new names from the type def? My partially complete code is attached.
07-16-2009 08:46 AM
1. choose "add case for every value" from the context menu of the case structure
2. "swap Diagram with case..." from the context menu and exchange the copied code with the empty case from step one
But currently step 2 is not available in you VI. I can't find the reason right now. So you have to edit the cases by hand.
07-16-2009 08:54 AM