LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the type of Case selector

Hallo,

I'm running LV 6i on NT4.0.

I have a Case structure with several strings as cases, lets say stringA
(Standard), stringB, stringC, stringD and so on.
So my Case selector is of type string. That works fine so far.
Now I want to change that structure from StringType to EnumType, so I would
have cases CaseA(Standard), CaseB, CaseC and CaseD. So I want to change the
slector type to Enum and associate the former string cases to Enum cases.

1. I wired an Enum constant to my string selector, and tried to assign a
case for each enum, the machine crashes.

2. I duplicated each string case and tried to assign the duplicated to the
enum, the mashine crashed.

Is there a way to do this, without deleting the case structure, or starting

a copy paste orgie?

Oliver Friedrich
0 Kudos
Message 1 of 4
(3,432 Views)
Something very strange is going on. I have tried what you explained in V6.0.2 running under W2K and all is well with the world. Can you post the VI that's doing it and let me play with it? Perhaps I might see something. In the mean time, it might be that the VI is corrupted and you'll have to rebuild it. This is a very rare circumstance with LV, but it can happen--especially when the computer crashes.

Have you upgraded to 6.0.2. If not that's another thing to try. The upgrade is free and can be downloaded from NI's website.

Mike...

mporter@arielcorp.com

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,432 Views)

Nine years later, on LabVIEW 7.1, I have the same problem

0 Kudos
Message 3 of 4
(3,007 Views)

@niel_malan wrote:

Nine years later, on LabVIEW 7.1, I have the same problem


Ummm.. you do know that we're at LabVIEW 2011 now, right? That bug was fixed long ago. I don't know when it was fixed, and it's unfortunate that you are still using LabVIEW 7.1. I am assuming this is for a legacy app? Not sure what else you can do.

0 Kudos
Message 4 of 4
(2,999 Views)