02-07-2013 08:17 AM
I have a front panel which has some XY graphs on it, and I need to have the cursor legend displayed.
That works just fine, but the pesky cursor arrows that appear on the front panel have, through a process that I don't understand, become visually mangled. I can't figure what I have to click on to modify their appearance or reset the cursor arrows to their default appearance.
Can anyone tell me how to do that?
Replacing the graph with a new one is a last resort - I could do that, but then I would have to setup all the graph properties again, and I have multiple graphs that all have this problem.
Screenshots attached to post.
Thanks
-ron
02-07-2013 09:30 AM
ron,
What version of LV are you using?
Is it possible to cross test this with another PC?
Norbert
02-07-2013 09:55 AM
Norbert,
LV 2011, SP1.
This is actually a chronic and pandemic problem that I've ignored for a long time - so its present across multiple LV versions (going back to LV8.x) and this occurs on every PC that I install the program on.
02-11-2013 01:59 AM
Can you post a VI which shows this behavior?
Does a new graph show this by default? If not, what did you do that it happened?
Does it only occur in VIs you updated from older LV versions?
thanks,
Norbert
02-11-2013 07:45 AM
I've attached a VI in which I've pasted one of the mangled graphs from my application, and also created a brand new graph. The new one has un-mangled cursors.
Just to clarify, the cause of the problem is clear - at some point in my development, I started playing with the placement of the cursors by hovering the mouse cursor over them and then stretching and moving them. However, I found them very difficult to mold and shape as a I wanted and just ended up with a mangled mess. I'm hoping that I can find a way to "undo" all of those changes, by re-setting the apperance of the cursors.
This isn't a "bug" where Labview is incapable of creating non-mangled graph cursors.
Thanks!
02-11-2013 09:21 AM
Hm, possibly not a "solution" but better than having reprogramming parts of the software using property nodes:
You can replace the indicator by right click>>replace. Select the appropriate default graph (e.g. XY Graph). It will reset the graphical shape to a default XY Graph, but leave all code untouched.
Alternativly (if you had to reshape several instances of that graph) you can define a "strict type definition" derived from the original LV graph. Save it. Use it as replacement as described above.
A strict type def defines all properties of a control except the data value. So all instances will look alike and visual properties can only be altered in the type def itself.
hope this helps,
Norbert
02-11-2013 09:36 AM
Norbert,
Thanks for the suggestions. The "replace" option is certainly better than deleting the graph and starting from scratch.
It's not ideal, and this is exactly what I was afraid of, but at least now I know that I'm not wasting my time by reseting all of the graphs manually.