07-14-2015 12:04 PM
It appears to be related to the enums being different. Make sure all of your state enums are linked to the type def.
07-14-2015 12:55 PM
@Bob_Schor wrote:
Replace the three tasks (and three buttons) with a single Task/Button called "Do All Three" and string the three tasks, in the order you wish them to be executed, on a single Error Line using appropriate data.
Bob Schor
I would actually KEEP all three buttons so you have the option to run each test individually as well as have the "Full Test" button. This can be extremely helpful of you need to troubleshoot a failed UUT.
07-14-2015 02:26 PM
How exactly do I do this.
What I have done is created a new enum. I saved as a strict typedef. When I link this to the case the dases are just numbers. I'm sure this is quiet simple but i cant seem to get it right. How do I attach the typedef enum and how do I replace all instances of plain enum???
07-14-2015 02:32 PM
Actually I got it working. I just added a new shift register and deleted the old one.
07-14-2015 02:33 PM - edited 07-14-2015 02:36 PM
I will probably keep the buttons and keep them for individual tests.
Thanks for all the comments folks. Much appreciated.
07-14-2015 04:46 PM
MarkGreally wrote:
How do I attach the typedef enum and how do I replace all instances of plain enum???
Right-click on the enum constant and choose "Replace->Select a VI..." Now browse to your type def and select it. Do this for all of the enum constants you have.
Alternatively, you can change your enum control into a constant and then you just do a copy and paste, replacing each enum constant you have.
Needless to say, it is a lot simpler if you just make the type def enum at the beginning and then you just add to that enum's definition as needed.