From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xy graph active plot property settings not working

Solved!
Go to solution

I set the xy graph plot properties manually and they appear to work. However, when I try to set them in the program they revert to the manual settings. What's going on?

 

xy graph property snip.png

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 1 of 3
(2,946 Views)

The code you posted should set the properties correctly. Some options:

 

  1. You're working on another control than the one you think.
  2. You're resetting the controls somewhere.
  3. You're doing it in a reentrant VI and you're only changing one of the clones.
  4. You're changing it and then unloading the VI without saving.

 

Basically, without seeing the actual code, I don't see a way to tell for sure.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,939 Views)
Solution
Accepted by topic author PaulG.

I went to the graph and made plot legend visible and extended it from one plot to 3. That's all I did. Now it appears to be working properly. It's been a long while since I had to get really fancy with a graph but I don't remember having to do this. My memories of  graph properties were that they were a little more dynamic. Smiley Surprised

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 3 of 3
(2,926 Views)