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