06-15-2011 10:54 AM
Hello,
Can anybody help me with the infrared temperature sensor (Optris CS). The problem im having is the sensor reads the temperature fine upto 156 (deg C) and starts back again at 180 (deg C). I dont know wats going wrong. Any kind of help is appreciated
Regards
Shaik.
Solved! Go to Solution.
06-15-2011 11:30 AM
how are you reading the temperature? can you downconvert the VI to 8.6 format and attach it again for me
06-15-2011 11:54 AM
Your conversion to DBL looks strange. You can convert the string directly to a U16 with the typecase function. You can also easily check to see if the conversion is incorrect or the reading from the sensor is wrong. Just look at the string returned when you think the value should be incrementing. If the string is not changing, I'd say there is a problem with the sensor.
06-21-2011 10:26 AM
Hello Dennis and SystemCrash,
Sorry I was away thats why could not reply. @ System Crash: Please see the attachment for the down converted to 8.6.
@ Dennis: The DBL conversion I did was according to the manual of the device. I never used the typecase function, i did try using typecase but no progress.
06-21-2011 10:36 AM
06-22-2011 04:14 AM
Hello Ravens,
I am connected to niu_logic, as you were saying to use portmon before launching Optris software. it gets connected but does not read any thing from the port, maybe I am not getting how to read a port using portmon. However reading from the port is not the problem we are facing. The Problem is VI read the temperature upto 156(deg C) i.e. 09FF as soon as it hits 0A01 it stop reading and starts reading above 180 (deg C). if I do not clear the VISA it reads strange values. please see the attachment for the screen shots
06-22-2011 09:08 AM
I see from your screen shot that you don't have anything wired to the top of the Serial Configure that sets the termination character. By default it is enabled and set for a linefeed character (ASCII 10). Since a byte of 10 could be a perfectly legitimate data byte, it is very likely you are receiving that byte and your VISA read is terminating early. Thus the 2nd byte following the linefeed character is sitting in the serial buffer and becomes the first byte of the next read throwing everything out of synch. It makes sense that it reads okay up to 09FF but not after. The next value after that would be 10 00, thus the line feed character shows up and terminates the VISA read early.
Wire up a False boolean constant to the Enable Termination character terminal of the serial configure. You also have a lot of coerced inputs to that function. Delete them all and right click on the inputs and pick Create Constant. Now you will have constants of the proper datatype.
06-22-2011 10:16 AM
Hello Revans,
Thanks it is working...
Regards
Shaik
06-29-2012 04:07 AM
Hi Shaik,
I tried this program and found difficulties while reading Temperature? Can you share the program which help you to read the Temp using CS LT?
Pls convert to 8.2 version vi,.............
attaching my vi for your reference...
06-28-2013 02:29 PM
Hi everyone, I want to ask you about, how can I convert voltage signals to temperature, because I have Miniature Infrared Sensor for measuring temperature. These sensors are sensitive to to the emitted radiation. So, it measures temperature depend on its emissivity. But I do not know how can I covert the voltage signal to temperature. Thank you in-advance for your help. Badr |