From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-08-2009 01:04 PM
I am trying to create a case structure that allows me to select which set of data I would like to graph (I have 3 sets). I am graphing 3 separate signals of degrees of rotation on the x-axis, and 1 torque signal on the y axis. My problem is I cant seem to create a control to switch between the three cases, I can only find a control to switch between two cases. I am using LabVIEW 8.6 and am relatively new to labview so I appologize if this is a simple question.
Thanks for the help!
Solved! Go to Solution.
07-08-2009 01:09 PM
07-08-2009 01:13 PM
07-08-2009 01:28 PM
07-08-2009 01:56 PM
07-08-2009 02:07 PM
You are going to have to provide some details. What exactly do you have wired to the case selector. As already noted, the case structure will adapt to the datatype of the case selector. The 'names' will vary. And, if you have a boolean wired to the selector, you cannot have more than 2 cases. Why don't you at least post an image of what you have done?
You might also check out the labVIEW tutorials. Case structures are pretty basic.
07-08-2009 02:11 PM
I would recommend the book "LabVIEW for Everyone" for someone starting out. Even an earlier cheaper addition would be of benefit to you.
07-08-2009 02:15 PM
Here is my VI. The area in question is at the very bottom center. there is a case structure with the cases: D/P, I/E, and A/A. This case structure spits out a data that goes to the XY Graph. When I right click on the ? on the case structure and say create control, all it gives me is a boolean control.
Hopefully this will clerify.
07-08-2009 02:27 PM - edited 07-08-2009 02:29 PM
Hi Clemson,
you don't need a case structure here... See attachment! (I just made an enum constant instead of a control, change to your needs...)
The rest of the code is somewhat... eehh... - I would use more arrays instead of all those wires and same casestructures...
07-08-2009 02:29 PM