LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case Structure

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
Trainer
Institut Supérieur de l'Automobile et des Transports
49, rue Mlle Bourgeois
F-58000 Nevers
Tel : +33.6.47.64.01.19 / +60.19.52.63.00.7 
Email : krausers87@yahoo.com 

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.  

0 Kudos
Message 1 of 12
(3,446 Views)
You didn't post an attachment.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 12
(3,440 Views)

Hello Fird,

 

You forgot to attach the VI.

0 Kudos
Message 3 of 12
(3,439 Views)

hi

i was trying to attach the file, but it seem the unexpected error msg shown frequently.

 any idea how to attach it?

 

0 Kudos
Message 4 of 12
(3,435 Views)

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 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 12
(3,428 Views)

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

Cory K
0 Kudos
Message 6 of 12
(3,416 Views)
0 Kudos
Message 7 of 12
(3,405 Views)

thanks Cory K.

 

Hi ALL, please find attachment.

 

Regards.

Firdaus

0 Kudos
Message 8 of 12
(3,396 Views)

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.

Message 9 of 12
(3,381 Views)

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?

Message 10 of 12
(3,380 Views)