LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

infrared temperature sensor

Solved!
Go to solution

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.

Download All
0 Kudos
Message 1 of 13
(5,911 Views)

how are you reading the temperature? can you downconvert the VI to 8.6 format and attach it again for me Smiley Happy

0 Kudos
Message 2 of 13
(5,906 Views)

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.

0 Kudos
Message 3 of 13
(5,901 Views)

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. 

0 Kudos
Message 4 of 13
(5,857 Views)

Are you in anyone connected with niu_logic who is also asking about Optris CS in this thread?

0 Kudos
Message 5 of 13
(5,854 Views)

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

Download All
0 Kudos
Message 6 of 13
(5,830 Views)
Solution
Accepted by topic author shaik1

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.

Message 7 of 13
(5,808 Views)

Hello Revans,

 

Thanks it is working...

 

Regards

Shaik

0 Kudos
Message 8 of 13
(5,795 Views)

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...

Joe
Using Ver. 8.0
0 Kudos
Message 9 of 13
(5,570 Views)

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
0 Kudos
Message 10 of 13
(5,374 Views)