LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
E.Onorato

Create graphs with multiple scales and a "drag cursor"

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

One thing that has really been bothering me developing in LabVIEW is the lack of multi scale graph VI's.  A good majority of what the data I am taking may have data coming in at multiple levels, which I need to be able to see layered.  Otherwise the scale is so large there is no detail in either.  Currently to solve this I have to switch between two graphs, and rely on photographic memory to see if they are similar.  This would also be a great addition to the Microsoft Office toolkit, when exporting to Excel.

 

Ex.

112_0709_11z+LS3_LS2_engine+power_comparison_graph.jpg

 

Also would be the ability to have a drag cursor that you could view data at a specific point in history on a graph while the graph is still updating.  When I am taking live data, such as temperature, we need to be able to go back and view a high point for example.  

 

 

 

4 Comments
JackDunaway
Trusted Enthusiast

Another scale, like such?

 

MultipleScales.png

 

Right click on the first scale, choose "Duplicate Scale", then right click on the newly created scale, and choose "Swap Sides". You can create as many scales as you wish, and link each plot to whichever scale.

 

As for using cursors on a "chart", I have always had better luck building my own "chart" with a circular buffer and XY-graph. XY-graphs are more flexible also since you can have arbitrarily spaced timestamps.

E.Onorato
Member

Well I feel a little stupid now, Thanks! 

 

As far as the second point goes,  I have done some other methods as well to create the "cursor", but it would still be nice to have it built in.

RavensFan
Knight of NI

You can have multi-axis XY graphs.

 

Right click on your axis scale.  Select Duplicate Scale.  You can click swap sides to move it to the other size.

 

You can select a plot and tell it which y-axis (or x-axis) to plot it against.  All are available from property nodes as well.

 

EDIT:  Jack beat me to it.  It actually took me a little while to compose the answer because I couldn't remember how to create the extra axis.  I had to search the forums (and it wasn't until my 3rd search that I could find it.  Searching LabVIEW help didn't help at all.)

 

Actually, if anything, I would suggest the idea should be that we could add the new axes by way of the property dialog box for the graph.  That was the first place I looked and it isn't there.  It is not very intuitive that you would right click on an axis you don't want in order to create the 2nd axis that you do want.  Where to right click is kind of touchy.  Until I found the message, it didn't occur to me to right click on the existing axis.  I was right clicking the plot itself thinking there would be an option to add an axis, but it isn't there.

Message Edited by Ravens Fan on 03-18-2010 11:18 PM
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.