LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making an xy graph

Solved!
Go to solution

I am trying to test of the seebeck effect that is change in voltage over change in temperature. I have been able to chart the temperature rise and also the voltage rise. I am using a and tow thermocouples to do . I want to plot an xy graph and use my gradient to be the seebeck effect. However I cannot seem to plot the xy graph no matter how hard i try. It just comes a single point. can anyone help me . I want the the values of the voltage rise to be the y -axis on the xy graph and values for the temperature rise to be the x-axis of the xy graph. Please help a novice herredaq 973.pnglabview.png

0 Kudos
Message 1 of 8
(16,310 Views)

Can you attach the saved data of voltage rise and temperature rise?

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 8
(16,300 Views)

here they are

Download All
0 Kudos
Message 3 of 8
(16,281 Views)

Here is the vi for reference

0 Kudos
Message 4 of 8
(16,280 Views)

Building an array from a scalar give you an array with one point, right?

 

In order to keep history data (the chart does that for you, but not the xy graph), you need to accumulate the data in a shift register. Here's a simple draft that you can use to modify your code.

 

altenbach_0-1729357367260.png

 

(Also remember that index array is resizable and you get the elements in order if you don't wire the indices.)

Message 5 of 8
(16,249 Views)
Solution
Accepted by topic author kkofori

... and here's how it could look with your real data.

 

altenbach_0-1729358162681.png

 

 

0 Kudos
Message 6 of 8
(16,246 Views)

Thank you , so what you are saying is the graph can not be used in real time 

0 Kudos
Message 7 of 8
(16,238 Views)

@kkofori wrote:

Thank you , so what you are saying is the graph can not be used in real time 


I have no idea what you mean by that because the term "real time" is not really well defined and means many different things to different people.

 

As you can see, my xy graph updates with each new point and once you have your acquisition inside the loop, it will update with every new point.

0 Kudos
Message 8 of 8
(16,226 Views)