Hi,
>Is there a way to interface VFP with external electrical components? Lets >say, for example, a door switch closes, and I want to use that signal in >Foxpro to give an alert. Would this involve serial communications? Thanks.
As a cheap and cheerful approach, if you really only need something that simple, you could just rig up a switch to deliver 5v to either the CTS or CD lines of the serial port and monitor the status using MSCOMM. On the same principle you can use the DTR (and RTS?) pins to set external states - although you may need a relay to manage AC power switching.
HTH,
Viv
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only