12-14-2011 04:35 PM
I'm trying to read and graph a continuous signal from a Pyrofiber Lab pyrometer which is coming in through an RS-232 cable. As far as I can tell there are no device drivers for this instrument (or any other pyrometers).
If I have the pyrometer take single measurements I can get those into LabView using the Instrument I/O Assistant, but only as an ABC string reading " 'emmisivity value' 'temperature' 'corrected temperature'" and not as individual numbers or data that I can use/graph. If I have the pyrometer in High Speed Transmit mode (which is the mode I need it in), I can't read the signal at all. How can I get LabView to continuously read (and record or graph) the incoming signal? And is there some way to parse the signal when it comes in as a string with " 'time' 'emissivity' 'temperature' 'corrected temperature'"?
I'm very new to LabView (and programming in general), so any hints on a good starting point would be appreciated.
Solved! Go to Solution.
12-14-2011 05:00 PM
You would start by reading the programming manual. Serial instruments such as this are unique in how the communications interface is implemented so it is pretty hard to give any sort of specific help. I would suggest that you first try to read/control it from a terminal emulation program such as Hypertermina, Procomm, etc. before trying to write any code. Then, you can look at the shipping examples of serial communication to see how you might write the program. Personally, I have never used the Instrument I/O Assistant.
p.s. Attaching the manual would go a long way in getting more help.
01-13-2012 02:46 PM
Thanks for your reply. I think I managed to get this part figured out.
07-31-2014 02:47 PM
I know a long time has gone by but can you or someone else post this solution?
08-01-2014 11:11 AM
progers - There is not a specific solution, as there is not a device driver for this device (assuming you are also using a pyrometer).
There are serial communication examples in LabVIEW, by going to Help >> Find Examples >> Hardware Input and Output >> Serial.
You will need the programmer's manual for the device to know what serial commands to use to talk to the device (see Dennis's post above).
Best Regards,
08-04-2014 10:58 AM