LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please Clarify the Errors (Case Structure)

I am using numeric case structure but I don't understand the errors, can anyone clarify what they are mean and what I have to do to change it. Thank you in advance.
0 Kudos
Message 1 of 8
(3,098 Views)
Sorry about that, here is the attachment.
0 Kudos
Message 2 of 8
(3,097 Views)
I'm not sure how the dynamic data type works, but you are getting the errors because connecting a DDT to a case selector coerces it to a boolean value and your cases are numeric, not boolean.

___________________
Try to take over the world!
0 Kudos
Message 3 of 8
(3,075 Views)
I'm not sure how the dynamic data type works, but you are getting the errors because connecting a DDT to a case selector coerces it to a boolean value and your cases are numeric, not boolean. What are you trying to accomplish?

Message Edited by tst on 07-12-2005 07:57 PM


___________________
Try to take over the world!
0 Kudos
Message 4 of 8
(3,077 Views)
hi guys, i'm just starting out in labview programming and i was trying to get familiar with radio buttons. So i created a case structure, gave it 3 cases, and put three radio buttons to correspond with the three cases. But i'm getting a similar error and im not sure what is wrong. I was getting two of them, but after i made one of the cases a default case, one of the errors went away. Here is my attatchment. I would appriciate your help, thanks.
0 Kudos
Message 6 of 8
(2,969 Views)

(This is a new problem, so you should have started a new thread.)

The solution is simple: Things are case sensitive!

A case labeled "Divide" is different to a case "divide"! Correct the first characer for each case and you're all set. 🙂

In scenarios such as this, easiest is to hook up an empty case structure to the radio control, then right-click the case structure and select "Add case for every value". Voila! No chance for mispellings! 😄

 

Message Edited by altenbach on 08-07-2006 09:49 AM

Message 7 of 8
(2,964 Views)
HA! Thanks alot. And thanks for the tip, I'll keep that in mind.


0 Kudos
Message 8 of 8
(2,955 Views)