10-18-2024 05:58 PM
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 herre
Solved! Go to Solution.
10-18-2024 06:28 PM
Can you attach the saved data of voltage rise and temperature rise?
10-18-2024 07:11 PM
here they are
10-18-2024 07:11 PM
Here is the vi for reference
10-19-2024 12:03 PM - edited 10-19-2024 12:04 PM
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.
(Also remember that index array is resizable and you get the elements in order if you don't wire the indices.)
10-19-2024 12:16 PM
10-19-2024 01:23 PM
Thank you , so what you are saying is the graph can not be used in real time
10-19-2024 05:20 PM - edited 10-21-2024 10:02 AM
@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.