DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Sclaes on One Graph

I have a resistor and a relay to measure current.  Once the relay trips, the value of the resistance increases.  Since I am measuring the voltage across the resistor in order to get current, is there an easy way to have two scales on one graph and then merge the two?  Using the flag functions, I have been able to isolate each individual section and multiply it but when I try to add the two back together, the x axis does not match correctly.  Since that is kind of unclear, I've attached screen shots below.

 

Raw Voltage.png

Raw Voltage

 

 

Current.png

Current - The data points were flagged and copied individually to generate this graph.  If I was just after current visuals, I'd change the color and be fine at this point.  However, I will need to integrate this graph to get columbs, and other various quantities.

 

Problem.png

 

When I try to add the two graphs together, this is the result.  Is there an easy way to zeropad in order to get the x-axis values to match up or is there a simpler way to do it?

0 Kudos
Message 1 of 5
(5,020 Views)

Hey iheartchocolat,

 

Are you looking for a way to have multiple Y axis and only one X axis, the same for both? If so, perhaps this will be helpful (screenshots thanks to @Otmar):

 

In REPORT section:
 

Multi-axes 1.png

 

Assign channels to the axis by dragging them from the Data Portal into the report:

 

Multi-axes 2.png

 

It's possible to have multiple axis in the view tab, however they will be auto-scaled.

 

Hope this helps! 

 

Best,

 

0 Kudos
Message 2 of 5
(5,006 Views)

I apologize for the confusion but, that wasn't what I was looking for.  I had hoped the screenshots could explain it better than my english but I shall try anyways.

 

We are making a voltage measurement across a resistor.  From time t=0 to t=A, this resistance value does not change.  At time t=A a mechanical relay opens, changing the value of the resistance.  From time t=A to the t=B, the resistor value does not change.  What I am asking if there is an easy way to have two scalar multiplications on the same graph.  In otherwords, from time 0 to t=A I want to multiply a curve by some floating point value X, and from time t=A to t=B I want to multiply the same curve by floating point value Y. 

0 Kudos
Message 3 of 5
(4,992 Views)

Hi,

 

Ah that's much clearer I think. Based on that, I think I have been able to create the desired behavior. I've taken an example data set (just a straight line) and multiply a piece of the set by 2 and a piece of the set by 10. To do this, I followed these steps:

 

1) Select a portion of data to be multiplied using the Band Cursor. Next, select the "Set Flags" button to highlight that data. Last, use the "Flags: Copy Data Points" button to create a copy of the data. This will appear in your data portal (I created a new group to hold MyCopiedData in the screenshot). This first section would be your t=0 to t=A section.

 

DIAdemDataSet1.png

 

2) Repeat this for your t=A to t=B section and copy those values too. You should now have two sets of copied data to operate on. 

 

3) Multiply these channels by your desired values using the calculator. To do this, open the calculator, double click on the Y channel of your copied 0 to t=A data to get the correct channel in the expression window, and perform the multiplication. Repeat for the Y channel of your copied t=A to t=B data.

 

DIAdemDataSet2.png

 

4) Drag your two sets of copied and multiplied data back into the view to see all the data sets - the original plus your two multiplied versions with different multipliers.

 

DIAdemDataSet3.png

 

I hope this helps - let me know if this isn't the correct functionality still 🙂

 

Best,

 

0 Kudos
Message 4 of 5
(4,981 Views)

I apologize, but I already had an accurate visual of the current.  I thought I had explained that in my first post, but English is not my strong suit.  I am looking for a way to merge those two channels that are created.  The reason for that is that I need a current waveform to analyze colombs, power, etc.  When I try to do that, I get that weird thing happening in the third screen shot on my first post. 

 

 

 

 

0 Kudos
Message 5 of 5
(4,968 Views)