LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Thermocouple type K displaying wrong readings

Hi Doha,

 

I am trying to average the temperature readings per hour over a number of hours.

Lets assume your DAQAssistent delivers meaningful values with unit °C like 25°C (average lab room temperature).

Why do you think it would make sense to divide those readings by the "sample per hour" value resulting in values of 2.5 for "10 S/h"???

Why do you think division is the very same as averaging?

Why don't you use a Mean function???

 

i use DAQ ASSISTANT because i don't know any other tool that i can use. 

LabVIEW comes with a huge example library. None of the DAQmx examples is using the DAQAssistent…

Btw. right-click that DAQAssistent and select "Open Frontpanel" to see the functions you can use.

 

I used a FOR loop inside another as this is what i felt was an appropriate method to generate the results. 

Do you program by your "feelings" - or by developing an algorithm?

(I often suggest a pen and a sheet of paper to develop an algorithm BEFORE even starting to code using LabVIEW or any other programming language…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 13
(627 Views)

no i didn't make the thermocouple myself, i purchased it.

yea i guess i probably need to test it using another device, thanks alot.

0 Kudos
Message 12 of 13
(612 Views)

Yea alright i'll check that but apart from the VI.. I still get the same problem in the NI MAX 

0 Kudos
Message 13 of 13
(608 Views)