Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

myDaq and temperature reading by using RTD sensor

Hi all, 

could anyone please help me how to get around this? I am new to Labview software and I am doing my first project ever in this. My project is about finding out a thermal conductivity of a material and so obviously I'm using mydaq device to measure temperature as my input variable in the block diagram to complete the rest of calculations. Everything seems alright and followed but I wish to record the temperature variance that occurs while I make the measurements in my front panel to make some data analysis. So, when I measure the temperature using the device I see it obviously vary and it keeps vary for a little while, so these multiple values of temperatures I need to collect them once I begin the measurement until it settles in like an indicator or an array, how should I get it done? I tried using an array so I can get all the temperatures values but all what it did is recorded on temperature value and repeated it in all the rows of the array.  ( don't worry about the contents pic, it just for illustrating what I mean )

0 Kudos
Message 1 of 4
(1,391 Views)

Do you want to record the temperature change somehow? I understood you correctly? Will the file write? Or will it be enough to write to an array?

0 Kudos
Message 2 of 4
(1,353 Views)

Hi, 

yes that is exactly what I am trying to do, recording all the temperature changes in an array so later I can plot those temperatures and do some data analysis. when I try to do it, it only recorded one temperature value and repeat it as much as my array elements has. For example, once I start my experiment and put the sensor there and run my code, the temperatures keep changing from 120C to 129C and I hoping to record all these temperatures in 1D array, but my 1D array shows only one repeated temperature value which is the last value that the sensor measured.

Thank you for your respond!

 

0 Kudos
Message 3 of 4
(1,320 Views)

I made an example. I hope this is what you need. In this example, an array of 20 elements is cyclically rewritten and displayed on the chart. 

TmpGrphDiag.PNGTmpGrphUI.PNG

Download All
0 Kudos
Message 4 of 4
(1,310 Views)