LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change the name of the case in the case structure

Solved!
Go to solution

Hello,

I tryed to change the name of one of my cases with the typ.def but I continue seeing the positions of the cases (0,1,2,3) instead of seeing the names.

This is my program

0 Kudos
Message 1 of 15
(4,501 Views)

In the case structure, you're not using the type def you created. 

 

In case 2 (any case actually), you wire an enum that is different (and not compatible) with the type def. So, LabVIEW converts the data type to a plain integer, because that will fit the type def and the enum.

 

Note the red coercion dots! That's where it goes wrong.

 

It seems that you programmed the cases, and then decided to make the enum a type def. Now you have to replace all the enums with the type def. That's why you make the enum a type def before you start using it! Next time...

0 Kudos
Message 2 of 15
(4,480 Views)

okey!! Thank you so much!!

0 Kudos
Message 3 of 15
(4,476 Views)
Solution
Accepted by crossrulz
Message 4 of 15
(4,473 Views)

@labview99 wrote:

okey!! Thank you so much!!


That crossed. You're welcome.

0 Kudos
Message 5 of 15
(4,471 Views)

With the picture and the explanation I have undrestood perfectly! Thank you so much for your big interest helping me! I am so grateful!!

0 Kudos
Message 6 of 15
(4,468 Views)

Why do you keep making new threads with the same question?  I know this came up in another thread of yours and you were already given the answer.

 

Why do you keep posting Spanish messages in the English LabVIEW forum?

 

Please don't make all these duplicate posts.

0 Kudos
Message 7 of 15
(4,424 Views)

I´m sorry

0 Kudos
Message 8 of 15
(4,311 Views)

@RavensFan wrote:

Why do you keep making new threads with the same question?  I know this came up in another thread of yours and you were already given the answer.

 

Why do you keep posting Spanish messages in the English LabVIEW forum?

 

Please don't make all these duplicate posts.


I can see the (3?) questions are related, but I haven't noticed the same question being asked?

 

Or did I missed more questions bein merged?

0 Kudos
Message 9 of 15
(4,304 Views)

Maybe I didn´t explain myself very clear, sorry.

PROVEN ZEALOT(wiebe@CARYA), you have helped me a lot and Iam very grateful with all your help, it has been essential.

Thank you!!!             

0 Kudos
Message 10 of 15
(4,301 Views)