LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature has stabilized after determinate time?

I'm new to labview and I need help... I managed to measure temperature using Daq 9216 and plot the graph, now I need to show a table of each channel inside the labview indicating the history of measured values ​​with a 30 min interval, I also need that when if there is a variation of less than 1 ° C in the temperature of a given channel for 3 hours, the labview indicates channel stabilization, I also need to know how much each channel has varied in relation to the last measurement( ex: in last 10,15 or 30 min) finally save the results (graphs and tables) in excel.

 

 

0 Kudos
Message 1 of 29
(2,698 Views)

temperature%20rise

 

Please embed images. Saves us a download, open and delete.

Insert Photo.PNG

0 Kudos
Message 2 of 29
(2,631 Views)

Hi aaswil,

 


@aaswil wrote:

I'm new to labview and I need help...


  • Why do you initialize the shift registers with arrays of 2000 elements?
  • Why do you use InsertIntoArray on those arrays?
  • Why do you need to use ArraySubset to create your graphs?

Simple answer: Initialize those shift registers with empty arrays and use BuildArray instead of InsertIntoArray. No need for ArraySubset anymore…

 

  • Why is there a case structure when you always call the TRUE case?
  • Why do you need 6 shift registers to hold your measurement data? One shift register using a 2D array would be ok, too! (And you could use a FOR loop to build your plots instead of 6 Bundle + BuildArray.)

 

As you have choosen to attach just an image of your code you need to edit/debug your code on your own!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 29
(2,628 Views)

Hello, I would like to thank you in advance for the answer.

 

As I said I'm new to Labview and I made this code based on other codes.

 

I'm attaching my VI so that if possible you can help me.

0 Kudos
Message 4 of 29
(2,620 Views)

Hi aaswil,

 

try this:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 29
(2,616 Views)

Having done this in the past I will try to explain how I check for temperature stabilization

 

In my case stabilization was defined as "less than 2 degree change of temperature taken at 4 consecutive 15 minute intervals"

 

  1. Initialize an array of four DBL's 
  2. Take a measurement 
  3. Rotate the array one step
  4. Place (replace) measurement in Array Index 0
  5. Do a Min-Max on the Array
  6. IF MAX - MIN <2 Then Exit
  7. Wait 15 minutes
  8. Go to 2

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 29
(2,595 Views)

I'd probably use "NI_PtbyPt.lvlib:Array Max & Min PtByPt.vi".

0 Kudos
Message 7 of 29
(2,585 Views)
Hi RTSLVU, 
 
 
Thanks for your reply, but unfortunately I still don't have enough knowledge to follow your advice. Thank you so much for answering me. Would it be possible to include your solution in my code above? or in the code made by GerdW.
 
0 Kudos
Message 8 of 29
(2,573 Views)

Hi GerdW,


Where did you put the chart?

 

Can you post your labview code?

0 Kudos
Message 9 of 29
(2,534 Views)
0 Kudos
Message 10 of 29
(2,525 Views)