02-26-2009 10:02 AM
Hi ALL,
I have a problem with my VI. The case structure. And I don't understand with the error message shown.
Please refer to the attachment.
Thank you.
Best regards,
Muhammad Firdaus b Abdul Halim
www.isat.fr
PS : I dont know how this group functioning. However, I hope you could reply to my email (krausers87@yahoo.com) as well. Thank you.
02-26-2009 10:05 AM
02-26-2009 10:05 AM
02-26-2009 10:08 AM
hi
i was trying to attach the file, but it seem the unexpected error msg shown frequently.
any idea how to attach it?
02-26-2009 10:11 AM
Using the preview function de-attaches the file.
Trying to attach a file with an extension which is not permitted will create an error during sending the post. That should be quite understandable.
hope this helps,
Norbert
02-26-2009 10:25 AM
Also, if you are using Google Chrome or Safari, you cannot attach any files with only 2 letter extentions, in this case being .VI
Try IE or Firefox
02-26-2009 10:32 AM
Attachment
02-26-2009 10:34 AM
thanks Cory K.
Hi ALL, please find attachment.
Regards.
Firdaus
02-26-2009 10:42 AM
Click on the broken run arrow, you'll get a dialog box showing 3 errors.
1. You have a local variable not associated with anything. (The black box with ? mark) Delete it.
2. You have a case structure with nothing wired to the selector. Delete it.
3. Your large case structure has a case with no corresponding value in the enum (Calculation of PV) Turn your left most enum constant into a control. Edit it to add that Calculation of PV. Do an advanced editing on the control to make it a TypeDef. Save the control as a .ctl file. Turn the control back into a constant. Use that type def'd constant everywhere else.
Now if you need to add a new case, open the control and add the corresponding value to the enum and save it. All constants will now be updated wherever they are.
02-26-2009 10:42 AM
You have a case structure with an unwired selector and it contains a local varaible that is not assigned to any terminal.
You definitely need to wire "something" (boolean, integer, enum, error, etc) to the selector terminal.
Do you know who wrote this program?