LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6225 thermocouple occasionally get NaN or nonsense temperature

I'm using a USB 6225 to read a type T thermocouple with the internal reference along with 20 differential channels through a SCB-68 terminal block and LabVIEW.  Everything is usually fine.  The program runs 24/7 polling the channels about once every two minutes usually without any problems. However, every now and then the termocouple channel generates a NaN or a ridiculous number.  I read the 20 differential channels and the 1 thermocouple chanel sequentailly as two separate tasks.   Only the thermocouple channel flakes out.  I've turned off the USB hub power save options (Windows 7), but if that were the problem I would expect the differential measurements to fail too.  They don't.   Interestingly, if I poll the hardware about once every 5 seconds, I don't see  the problem.  If I poll about once every two minutes I do.  Any ideas?

0 Kudos
Message 1 of 3
(2,953 Views)
You should be using one task with all channels. Are you starting and stopping the tasks? With a single task, you only start it once and stop when the program is stopped.
0 Kudos
Message 2 of 3
(2,932 Views)

@Jim12345678 wrote:

I'm using a USB 6225 to read a type T thermocouple with the internal reference along with 20 differential channels through a SCB-68 terminal block and LabVIEW.  Everything is usually fine.  The program runs 24/7 polling the channels about once every two minutes usually without any problems. However, every now and then the termocouple channel generates a NaN or a ridiculous number.  I read the 20 differential channels and the 1 thermocouple chanel sequentailly as two separate tasks.   Only the thermocouple channel flakes out.  I've turned off the USB hub power save options (Windows 7), but if that were the problem I would expect the differential measurements to fail too.  They don't.   Interestingly, if I poll the hardware about once every 5 seconds, I don't see  the problem.  If I poll about once every two minutes I do.  Any ideas?


This is often indicative of an intermittent thermocouple connection.

 

Also high frequency/voltage on the TC, like if the TC is placed on the metal tab of a transistor in a switching powersupply. 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 3
(2,911 Views)