LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to carry the temperature data every 10 minutes once

I used the NI6221-PCI card to carry the temperature signal. Now I encounter a very difficult problem. I want to carry the temperature data every ten minutes a time(only one data) and for total ten times. At last, I calculate and get the average value.  I had tried a lot of methods,but failed. How to deal with it???

 

Thanks in advance

 

 

cheng_bei

0 Kudos
Message 1 of 8
(3,404 Views)

Hi cheng_bei,

see this "Cont Acq Thermocouple Samples-SW Timed.vi" example from the example finder and change it to your needs.

If this isn't what you need, then please explain a bit more about what you have done and where you have problems.

 

Mike

Message Edited by MikeS81 on 05-04-2010 03:20 PM
Message 2 of 8
(3,401 Views)

Hi Cheng,

 

 Temp reading snippet.png

 

There is a 'Mean' vi somewhere but i couldnt (be bothered to) find it.

 

This will take your measurements then exit displaying your mean and test results

 

Rgs,

 

Lucither

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
Message 3 of 8
(3,386 Views)

Let me get that right. You want 1 Temperature reading every 10 minutes and take an average (of 10 readings) every 100 minutes?

Is that correct?

0 Kudos
Message 4 of 8
(3,371 Views)
Thank you.
0 Kudos
Message 5 of 8
(3,347 Views)
Thank you. Lucither!!  I will try it.
0 Kudos
Message 6 of 8
(3,346 Views)

Hi, Dimitrios:

 

Yes,it is.

0 Kudos
Message 7 of 8
(3,345 Views)

Hi Cheng,

 

I just realised that i never added a stop button for you to exit the vi with, here is a different version:

 

Temp reading snippet.png

 

Rgs,

 

Lucither

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
0 Kudos
Message 8 of 8
(3,330 Views)