I am handicapped and I am using my foxpro database to control my house by sending commands to a stargate house controller via the com port. Its working very good but I want to go a step further and get data back from the port. Below are examples of sending simple command lines. IF mediaindex.fan *turn fan off Thisform.Olecontrol1.output = "##%2b02060a010000" + Chr(13) REPLACE mediaindex.fan WITH .F. ELSE * turn fan on Thisform.Olecontrol1.output = "##%2b02060a020000" + Chr(13) REPLACE mediaindex.fan WITH .T. ENDIF THISFORM.REFRESH I can have stored phone messages with... *play all new messages Thisform.Olecontrol1.output = "##%9408000001" + Chr(13)
How do I recieve the returned message on the COM port? I have a reference manual to know what to expect and how to interpret it but I need to capture the message. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/074df5b82fd141adaae04786801ab...@livingroom ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

