From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

Case Structure with mannualy controls

Hi everyone, 

I am trying to do some computer-measurement of my battery. I came to a part when the program should recognize what is set (discharge/charge/wait) and he should decide with a case structure what to do next (Schritt 1 case in my program). I am trying to make a case structure, but my values in enum wont be recognized as values of the case box. I made it as typedef, but it still doesnt work. Does anybody have an idea what to do with it?

Thanks in Advance!!

0 Kudos
Message 1 of 14

Well, a .lvproj file does not contain any code, so it's fairly useless.


Are you sure you've made an enum, not a ring? An enum (typedef or not) has it's string in it's type, a ring does not. From the FP side, they look exactly the same (by design). From the diagram, they look different. A ring looks like a normal integer, an enum does not.

0 Kudos
Message 2 of 14

I don't even see a case in your code...


In fact I don't see anything here that looks even remotely related to testing batteries.

=== Engineer Ambiguously ===
0 Kudos
Message 3 of 14

Where did that VI come from? I only see one attachment, Untitled Project 2.lvproj ‏30 KB... No .VI or .png?

0 Kudos
Message 4 of 14

That was the only VI inside the project that was attached


=== Engineer Ambiguously ===
0 Kudos
Message 5 of 14

But LVproj files don't contain vi. files.  So where did you get the VI that you showed in the snippet?

0 Kudos
Message 6 of 14

I don't know, I downloaded the file and opened it, that is what was inside.


I can guarantee that is NOT any of MY code.


I guess it could be something left over in my "temp" directory that I downloaded before and happens to have the same name and properties as the untitled vi in the project?

=== Engineer Ambiguously ===
0 Kudos
Message 7 of 14

I wonder if you had some other file called Untitled hanging in your temp folder and it opened that.  It would explain why the VI doesn't match with the OP's description.


When I open the  project, it says Untitled3 is missing or moved.



0 Kudos
Message 8 of 14

@RavensFan wrote:

But LVproj files don't contain vi. files.  So where did you get the VI that you showed in the snippet?

I think there might have been another Untitled in his download folder. That's also why the VI is totally unrelated...


EDIT: why do all your messages (already mentioning this) pop up right after I reply... really annoying.


Is OP still reading this?

0 Kudos
Message 9 of 14


Could you post the VI, not the project?

0 Kudos
Message 10 of 14