Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Why is the case structure name red? (http://www.chiefdelphi.com/forums/showthread.php?t=125810)

themollykelly 04-02-2014 14:02

Why is the case structure name red?
 
I am still a bit new to LabVIEW and for some reason the case structure's name is red. Could sombody tell me why this is happining and what can I do to fix this.

Racer26 04-02-2014 14:12

Re: Why is the case structure name red?
 
Because the case name does not match the data type of the input wired to the case selector.

ie. I have a case for "Fire Ball" and have a numeric wired to the case selector.

blackflame2996 04-02-2014 16:48

Re: Why is the case structure name red?
 
If you are using an enumeration for the states of your case structure, right click the state selector on the top of the structure and select "add case for every value". this will make your structure match your input.


All times are GMT -5. The time now is 02:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi