LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple temperature vi that allows me to take data every 5 ms or less

I have  a labview program which takes real time digital intensity data from a spectrometer and does some calculations. My experiments lasts 2-3 seconds and my data acqusition interval is 1milisecond. First I was surprised that the CPU could take it .
 
However, when I add a temperature reader vi (for one K thermocouple) in my program, the CPU can take data only every 50 miliseconds. I am new to Labview and I want to know what could be a simple vi that would allow me to run my program still at very high speeds. Maybe not 1 ms but at least every 5 or 10 miliseconds. I am using SCC-TC0x.vi currently (see attached) to read temperature. I have labview 7.1 and Daqmx but I have configured instead the traditional DAQ for an SCC-TC02 thermocouple module residing in my SC 2345.
 
Since I am new to labview , I do not understand the program (configure, read, clear.... for instance where is the voltage coming from) in the attached vi. I also tried to used advanced analog input on the block diagram  to take the thermocouple voltage and perform the equation (given for a K thermocouple used between 0 to 500C) to convert from voltage to temperature but i get a wrong reading. Maybe it is just scaling problem. 
 
in short my question is: what is the simplest way to read temperature while not putting a load on the CPU.
 
Baris
 
Thanks
0 Kudos
Message 1 of 3
(2,552 Views)

1. I couldn't find the attachement...

2. Labview already provide the formulars for thermocouples (Its somewhere in DAQ-Signal conditioning )

3. Have you done a propper cold junktion compensation for you TC voltage reading?

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 3
(2,549 Views)
I am sorry. here is the attachment. Thanks
0 Kudos
Message 3 of 3
(2,537 Views)