LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a plot visible without property node?

Is there any way to return graph plots to a visible state without wiring in property nodes and running the VI the graph is in?  I was just re-using some old graphing code that had most of the plots set to invisible programatically the last time they were saved.  I'd already erased the code that controlled their visibility because I didn't need it in this application.  When I went to view the results of the new code most of the plots were invisible.  I looked through all tabs on the graph properties page and all the right-click options but ended up having to temporarily drop in property nodes to "visiblize" each plot.

 

It's not a big deal since it's not often an issue but I'm wondering whether I'm missing something obvious here. 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 1 of 11
(4,242 Views)

One method of hiding a graph is to det its data to 'nan'.  This is an alternative to seting the color or visibility of a plot.  It is a nice method of hiding points or regions of a graph as well (not possible from property nodes).

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 11
(4,222 Views)

see attached

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 11
(4,220 Views)
Sorry I miss-read the post.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 11
(4,219 Views)

if the data is still there, you can right click on the plot, make a constant and then pass the constant to a new graph.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 11
(4,216 Views)

Thanks Paul but it's not the old data I care about.  I had a nice graph with multiple scales (assigned to the correct plots), pretty colors, etc. that I wanted to re-use rather than re-create.  I easily massaged the new incoming data to be displayed on my old graph but many of the plots were set to invisible.  I just thought there would be some way in the pop-up properties to turn them all back on.  It makes sense that not all properties can be exposed that way.  It would take dozens of tabs.

 

As I said, it was no big deal to put a property node down, set all the plots to visible, then remove it.  Next time I'll know to save my graphs in a default state.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 6 of 11
(4,206 Views)
Right-click on the terminal and select Show?
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 7 of 11
(4,183 Views)

One method of hiding a graph is to det its data to 'nan'. 

Changing it's data will not hide a graph.  You could hide a PLOT that way, but not a graph. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 8 of 11
(4,179 Views)

I had a nice graph with multiple scales (assigned to the correct plots), pretty colors, etc. that I wanted to re-use rather than re-create.  I easily massaged the new incoming data to be displayed on my old graph but many of the plots were set to invisible.  I just thought there would be some way in the pop-up properties to turn them all back on.

 

The short answer is no - there is no dialog way to do that.

 

If this happened to me, I would:

 

  1. Copy the graph to a new blank VI
  2. Write code to for i = 0 to 9: set CURRENT PLOT = i: set PLOT VISIBLE to TRUE.
  3. Copy the graph to your original place.
If you PASTE the fixed graph in PLACE of the gorched one, then all property nodes, terminals are intact.

 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 9 of 11
(4,176 Views)

That's pretty much what I did except I just dropped the For Loop right on the old VI, ran it once, then removed the loop.  Actually, I might put it back and use it to initialize the graph.

 

Thanks for your reply,

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 10 of 11
(4,155 Views)