rs232 commands

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
AndyA
Member
Posts: 17
Joined: Fri Nov 05, 2004 8:32 pm

rs232 commands

Post 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.
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post 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.
Scott
Post Reply