09-13-2011 05:12 AM
Hello All,
I am trying to plot two graph in a single waveform using DIAdem scripting, My requirement is I need both the graphs to be plotted with respect to different scales. I will be having two Y scales in my graph. I want to know how do I assign the required Y-Scale to my Graph.
If I have two waveforms one for Pressure and one for Flow and two Y-axis Scales, Scale 1 and Scale 2, I want to assign Scale 1 to Pressure and Scale 2 to Flow.
How do I do it using DIAdem Scripting.
I have a script which plots the graphs with single scale I want to know how can I modify it such that I can assign the graphs to that particular Scale.
Regards
Vinay
09-19-2011 06:52 PM
Hi Vinay,
With the 2DAxis object open, assign the D2AxisPairNo(n) to the index (1, 2, 3) of the Y axis you want that (n) curve to be attached to.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-24-2012 03:16 AM
Hi,
I am working on a project in which we have to map speed and rpm of a vehicle with the time on x axis. I sucessfully maped them onto a XY graph with speed on the right hand side and rpm on the left . Now i want to change this representation into a stacked graph like structure but only using one xy graph .. i . e, using the same x axis ... and consider speed has range of 250 and rpm woth a range of 8500 .. so the graph should be having 0 - 250 on the y axis and the just above the 250 mrgin the scaling should again start from 0 till 8500 ... is this possible... ??
If yes .. please help me. I am working on LabView 7.1 and i have access to labview 2011 also.
Thank You,
Anirudh
01-26-2012 11:20 AM
Hi Anirudh,
Yes, it is possible in DIAdem to set up multiple custom Y axes on top of each other (say on the left side) within the same graph. Would you please post or email me a sample data set and the REPORT layout file (*.TDR) you currently have? That will make it easier to provide you with an edited TDR that does what you want. Calling this graph from LabVIEW is a separate issue but is also possible.
Brad Turpin
DIAdem Product Support Engineer
National Instruments