DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting multiple waveforms in a waveform graph using DIAdem scripting and assigning different scales to the graphs plotted

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

0 Kudos
Message 1 of 4
(5,022 Views)

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

Message 2 of 4
(4,988 Views)

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

0 Kudos
Message 3 of 4
(4,801 Views)

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

brad.turpin@ni.com

 

0 Kudos
Message 4 of 4
(4,780 Views)