10-03-2017 03:18 AM
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!!
10-03-2017 04:43 AM - edited 10-03-2017 04:44 AM
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.
10-03-2017 09:23 AM
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.
10-03-2017 09:43 AM
Where did that VI come from? I only see one attachment, Untitled Project 2.lvproj 30 KB... No .VI or .png?
10-03-2017 09:52 AM - edited 10-03-2017 09:54 AM
That was the only VI inside the project that was attached
10-03-2017 10:09 AM
But LVproj files don't contain vi. files. So where did you get the VI that you showed in the snippet?
10-03-2017 10:10 AM - edited 10-03-2017 10:13 AM
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?
10-03-2017 10:13 AM - edited 10-03-2017 10:15 AM
I wonder if you had some other file called Untitled 3.vi 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.
10-03-2017 10:18 AM - edited 10-03-2017 10:21 AM
@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 3.vi 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?
10-03-2017 10:22 AM