cancel
Showing results for 
Search instead for 
Did you mean: 

How to place a Reference Plot inside Acquired Data Graph?

Dennis_Knutson
Knight of NI

Re: How to place a Reference Plot inside Acquired Data Graph?

Of course you can't see it. You have a regular waveform graph in your program. As I said, I used an XY graph like the others you have. You have to get the separate columns from the dynamic data returned by the Read From Measurement File first. You can do this with the Split Signals or convert the dynamic data to 2D DBL and use the index array function to get each column.
Mike415
Member

Re: How to place a Reference Plot inside Acquired Data Graph?

Ok, so I got the graph to display behind another transparent graph background. So now my question is how can I create a button to hide or display the reference graph in the back?

Thanks
Dennis_Knutson
Knight of NI

Re: How to place a Reference Plot inside Acquired Data Graph?

You create a button by going to the front panel and selecting a button style you like. If you were to change to an architecture based on the event structure, I'd say add a value change event for the button with a visible property inside the event. If you don't change it, just wire the Boolean to the visible property of the graph.

At some point, you really want to redesign the program. The use of multiple graphs stacked on top of each other is going to be a performance hit. Any one of your graphs can be used for displaying all of the plots.



Message Edited by Dennis Knutson on 07-21-2008 08:43 PM
Highlighted
Mike415
Member

Re: How to place a Reference Plot inside Acquired Data Graph?

I definitely don't have enough knowledge of LabVIEW to redesign the program (I just downloaded the driver from this site so I dont know much how it works), but I want to be able to get the plots to display on the same graph to make things a bit tidier.  I was trying to do it all of today, but I couldn't figure it out from what was provided so I settled for the superimposed graph.  I'm willing to give it a shot tomorrow though if I can get some more information.  If I were to get the plots to display on the same graph, would the hide/display function still be done the same way?

Thanks some more
Mike
Mike415
Member

Re: How to place a Reference Plot inside Acquired Data Graph?

Message contains an attachment
What would I have to do to join the channel 3 graph with the channel 1 graph?  I had a boolean wired in to hide or display the graph, but I had to put it inside a while loop for it to work. 

So in the end I would like for Channel 1 and 3 to be on the same graph, but for Channel 3 to have a boolean to display and hide it.  And the simpler the explanation the better Smiley Tongue

Thanks
MikeS81
Proven Zealot

Re: How to place a Reference Plot inside Acquired Data Graph?

Hi Mike,
use the build array function and connect both to it.

Mike