Waveform chart with 2 Y axis

Hi, I have labview 8.5 and I would like to know if is possible to have one waveform chart with two Y axis, I have two signal from a force load cell and two signal from a LVDT, so I would like to graph in real time what is happening in the process having in one axis the forces and in the other axis distance, how can I do it?
The problem is the forces are lower than the distance, so if I graph all in one is going to be a big mess or can I just play with each scale of each plot and put everything in one Y axis?

Wolfson wrote:
Hi, I have labview 8.5 and I would like to know if is possible to have one waveform chart with two Y axis, I have two signal from a force load cell and two signal from a LVDT, so I would like to graph in real time what is happening in the process having in one axis the forces and in the other axis distance, how can I do it?
The problem is the forces are lower than the distance, so if I graph all in one is going to be a big mess or can I just play with each scale of each plot and put everything in one Y axis?
1) Right click on the Y-axis and choose "duplicate scale". This will give you another Y-Axis.
2) Optionally right-click the new Y-axis and select "Swap sides" to move the new Y-axis to the other side of the graph.
3) If not already visable right-click chart and choose Visalbe >>> Plot legend
4) Right click on a plot and choose the Y-axis it should be associated with.
I hope that helps,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • Creating X/Y chart with X-Axis labels in between

    Hello all.
    I would like to create a Numbers 09 scatter/XY chart with the X-Axis labels between the gridlines instead of on them.   How can I do this with a line chart also?  Or, does thids format require a Combination chart?  If so, how can what I'm trying to create be made?

    I'll give you the basic steps. I might miss one or two along the way.  The basic steps are to create the chart, remove all the unecessary parts of the chart and set the fill color to none, create & format the table, slide the table under the chart, align the two, then lock them.
    Create a chart from your data. I said the chart above was a line chart but it was actually a scatter chart.
    I'd recommend making up a few "special" data points (overwriting a few points in your actual data for the time being) that you can use to align the table and chart.  In the chart above, I used something like (1.5, 0.1) and (30.5, 0.9), two points that should align exactly with the X & Y gridlines if the chart and table are properly aligned.
    Set the min and max for both axes.
    Size and place the chart where you want it
    Set the fill color to none
    Remove the value labels, gridlines, axes, etc.
    Create a plain table with the necessary number of columns and rows. The one above has 32 columns and 7 rows.
    Put the value labels in the table. I vertically centered the Y axis labels in the cells using the icon on the toolbar. I didn't horizontally center the X axis labels but maybe I should have.
    Make the table borders the color & thickness you want.  At this point, the X&Y axis labels will also have borders.
    Turn on Border Selection in the Table menu
    Select the borders you want to remove and change them to no line. You click on a border to select the entire thing then click again to select a segment. You can command-click to select multiple border segments. Be careful you don't miss when clicking or your entire selection will disappear. I recommend selecting & changing a few at a time
    Select the table and send it to the back using Arrange/Send to Back.
    Slide the table under the chart.
    With the entire table selected so that it has the little squares at the corners and sides, drag on the squares to get the table about the right size. Hold down Command when dragging to turn off snaps. Try it without Command and you'll see what I mean.
    Use the Table Inspector to fine-tune the row & column sizes so the table "gridlines" match the chart. You are trying to line up the gridlines with your two "special" data points. You might want to adjust the size of the chart some too.
    You can move the table around by dragging to get it close to where it should be. You can select the chart and use the arrow keys to move it pixel-by-pixel.
    You'll have to repeat the steps above until everything is aligned. Then you can get rid of those "special" data points.
    When it all looks good, lock the table and chart so nothing gets changed or moved accidentally.
    That was it off the top of my head. It comes out to alot of steps but once you've done stuff like this a few times it gets easy.

  • Recording 1 hour of waveform chart with 64 inputs?

    I am using 64 inputs at 100Hz each and I'd like to visualise each of these inputs for at least 1hour.
    I use 8 charts of 8 inputs each. I made several tests :
    I put a big history lenght on the waveform chart--> the ram disk (512Mo) is not abble to store all the information.
    When the chart history length is more than 10000 long, it doesn't work well.
    When we put a small chart history lenght 1024,  waves are deleted when we resize the window. The waveformchart can only record 1min of datas. 
    Is there a way to visualise one hour or more of acquisition at 100Hz with 64 inputs? 
    Thank you very much for your help
    Ludovic Charpentier
    PS : I use a P4

    Hi,
    Each time you acquire a new point, you put it in a waveform chart. That means that, each time, you make an array bigger and LV will give it a new memory allocation ... This will give a very slow process if you manipulate millions of points (this the case 3600*100*64 = around 23 040 000 of points).
    What I can suggest you is to save all datas in a file and you plot only a part of the acquisition (5000 points for example). This will allow you to see a part of the acquisition graph in "real time" and if you want to have all acquired points in only one graph, you will be able to do that at the end of the acquisition.
    Remember that memory allocation is easy in Labview because you do not have to care about anything. But behind, in the hidden part, big arrays are allocated at each loop iteration and this effectively slowes down your process.
    Hope it will help you,
    Regards
    David D. - Application Engineer - NI France

  • How do I update a waveform chart with multiple plots one point at a time?

    Hi,
    I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.
    Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
    Thanks

    Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

  • Chart with 2y axis (how)

    I am interested in an making an XY scatter plot with time points as
    the x axis, and with 2 different y axis.
    As I mentioned, the x axis
    will have the different time in min., that the data was collected, and
    the 1 y axis would contain a particular measurement of the sample, and
    the other (2nd) y axis would contain a different type of measurement
    of the same sample. The problem is that I can't see how to do a 2 y
    axis XY scatter plot.

    Hi Peter,
    This is the number one feature request for the JFreeChart project. It hasn't been implemented yet, but I will be working on it (I hope) during October. It is going to involve quite a few changes, so I'm not sure how long it will take.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    http://www.object-refinery.com

  • Bar chart with dual axis plotting incorrectly

    Hi,
    I have created a BAR_VERT_CLUST2Y, which has 4 series of data.
    The problem I am experiencing is that when the data is charted, it appears that only the first series of data charts correctly (i.e. from the left axis). The second series of data charts from the right axis and the remaining series all chart on the left axis. I would have thought that the first and second series use the left axis and the third and fourth use the right?
    I would be grateful if anyone had any suggestions how this can be resolved or if they have come across something similar and found a way around it, it would be much appreciated?
    Many thanks.
    P.

    Xcelsius does not currently support dual axis. However, the workaround to this is to layer two charts on top of each other. You would then need to add line components and labels to complete the effect.

  • Waveform chart x-axis in time (secs)

    Ok here's what I'm trying to achieve (unsuccessfully at the moment). I've got a 2D array of data collected from a sensor. Each column in the array corresponds to one of the sensor's axes. I want to display 3 columns of data on a waveform chart with the magnitude of the data as the Y axis and time as the Z axis.
    Here's the tricky bit. I have no timestamp with the data. However, I'm taking the first element of data in each column as being T (time) = 0. The sampling rate of the sensor is 100Hz so => dt = 0.01. So each data element in each column (sample) is separated by 0.01 seconds. Therefore by knowing the number of samples in a column of the array, I can get the end time. E.G. 1000 elements in one column of the array => end time, T = 1000 * 0.01 = 10 seconds.
    So in the above example the chart's time axis should go from t = 00:00:00 to t = 00:00:10. However I'm not gettin anything like this in my chart. I did up a quick vi showing what I'm currently doin. 
    Any tips?
    Attachments:
    2D waveform chart.vi ‏32 KB

    I've re-attached my example vi with a minor adjustment highlighting the problem. Each column of the array now contains 2000 elements which exceeds the deafult chart history buffer length value of 1024. This causes problems with the time display on the chart. I could of course change the chart history buffer length manually by right clicking etc. but would need to do it in real time in my actual vi as I won't know the size of the array until execution.
    Is that clearer?
    Running the vi now should show you, the time starts at 00:00:09 instead of 00:00:00. I understand why but not how to fix it...

  • I cannot "Swap sides" in a waveform chart

    Hi, I'm trying to create a waveform chart with two Y-axis.
    If I click "Duplicate scale", I can see in Properties that a new scale is created.
    However, it is not possible to click "Swap sides" since this menu item is grayed out - so I can not move the new scale to the right side.
    Note that the new scale is NOT placed beside the first but at the same position, when I click "Duplicate scale".
    Any ideas why I can't click "Swap sides" ?
    Jan Nielsen
    Freelance system analyst and LabVIEW programmer

    The LV version is 8.20.
    If I make a blank VI and start from scratch as you write, there is no problem. Then the new scale appears beside the old, and can be swapped.
    Jan Nielsen
    Freelance system analyst and LabVIEW programmer

  • Waveform chart time sometimes decreases

    I have a waveform chart with three plots vs time with update mode set to strip chart.  It is demonstrating strange behavior which I have never noticed before.  The time sample numbers at the extents of the axis sometimes decrease and the plots shift to the right instead of always left as I have always expected.  Can anyone offer a plausible reason why this situation might occur?

    the following applies only to charts that are Waveform data types, otherwise disregard.
    Check the validity of the t0 values in the WF. If the timestamp is earler than the latest value plotted, the chart will reset.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Column Chart with Multiple axes

    Hi folks
    I am using flex 2 charts for displaying data. I want to show my data using column chart with secondary axis. However columns for multiple series are coming one over another. here is the code I have attached:-
    But I want to put columns side by side. Any thoughts will be appreciated.
    Warm Regards
    Rush-me

    Any thoughts?
    Warm Regards
    Rush-me

  • 3 Waveform Chart to a Single Excel but in Different Spreadsheet

    I wanted my waveform chart to export the data to excel which I can easily do by right clicking the chart and export to excel. But I have 3 waveform chart and I want to export it to a single excel file but in different spread sheet. How do I do that with the same result with the conventional "right click method and export"?

    For this you probably will need to add some code to your VI to do this instead of right clicking on the chart. You can use the VIs located in the Programming>Report Generation>Excel Specific pane which has tons of stuff for that.
    Attached is an example of a basic VI that populates three waveform charts with random data and creates an excel spreadsheet with each chart's data input into a different workbook. This is rough and you can add a lot more functionality if you want depending on your needs. Just take references to all your charts and put them into an array and feed into the for loop.
    (Also there are probably better/cleaner ways to do it but this is the best I've got )
    Attachments:
    WaveformExcelExample.vi ‏29 KB

  • How to clear waveform chart

    How i can clear a waveform chart with dynamic datas? The normal procedure with handover a empty array doesnt work.
    Uwe Augst
    Muehlbauer AG
    Germany

    Hi,
    here´s a small example with a property node (Historie), everytime you restart that VI, first the chart is cleaned up and than refilled again.
    Hope this helps,
    AlexMessage Edited by Alex R on 05-03-2005 11:18 AM
    Attachments:
    Clear Waveform-Chart.vi ‏21 KB

  • Waveform chart data to file

     dear sir,
     iam getting eight different  plots on waveform chart with system date and time. Now i want to store this   eight values with system date and time in excel file as per specified time interval. it shoould be online because i don't want to stop my vi to save that data in file. Is it possible? If  yes please help me.
    thanking you
    falgandha

    Falgandha,
    this can be done with ActiveX or just saving the data as spreadsheet file and then importing it to Excel.
    If you like to know more about Excel and ActiveX, you should take a look into the ActiveX-examples of LabVIEW.
    Saving data as spreadsheet file is available as examples as well, but maybe it is sufficient for you to use the "Write To Spreadsheet File.vi" from the file IO palette.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Open waveform chart in other screen.

    Hello to all!
    I have a front panel with two indicators, the value of those two indicators goes to waveform chart.
    My problem is that I need to call from run_time_menu to waveform chart and that it is opened in a screen different, appearing only waveform chart with titlebar.
    I have proved with a property node_visible of waveform char, but waveform is in front panel and not in one second screen.  Another problem is that if I use a subvi to have another screen, the values of waveform are not updated.
    Thanks.
    G.Garrigos.

    There are lots of ways to achieve this.
    One of the approaches is as shown in the attached VI.
    Go through teh block Diagram of Main VI. Here you will see that a sine pattern is written to a chart.
    Observe that I have placed a sub VI inside the "sub VI" event of the main VI.
    Click on the sub VI icon. In its drop down menu,go to 'sub Vi node set up'. Here you will see that i have selected select 'show front panel when called' and 'close afterwards if originally opened'
    This link will teach you how to pass values to a sub VI by using Connector Pane: http://zone.ni.com/reference/en-XX/help/371361A-01​/lvhowto/selecting_a_connector_pane/
    Run the main VI, and click on "show sub VI" to dispay the graph shown in mainVI on the SUB VI's graph
    Any doubts, do ask
    regards,
    Dev
    Message Edited by devchander on 03-29-2006 06:31 AM
    Attachments:
    main.llb ‏41 KB

Maybe you are looking for