Page 1 of 1

rs232 commands

Posted: Tue Aug 16, 2005 11:09 am
by AndyA
Does anyone know how to examine a received rs232 string and strip away certain characters leaving only the data wanted.

e.g. I have a serial device sending the room temperature, this device sends a string "IT:19" meaning Indoor Temp 19deg

I want to beable to display the temperature "19deg" on my touchpanel, how do I do this?



Regards, Andy.

Posted: Tue Aug 16, 2005 1:14 pm
by ScottBot
Andy,



You an do this with a VB Script using the HouseBot Script Device. Here's a post that hits on it briefly.