You could probably do it with X10 devices. I used to control X10
devices with OS 8.6. They
were controlled from the serial port but the new device is USB. I am
writing a stack that will
control the serial and USB ports but haven't been working on it for a
few months. I was able
to configure the ports and do some serial port stuff with the modem
but haven't done much
with the usb port yet. The older X10 took commands in a binary
format if I remember and I
haven't done enough to see how the new X10 devices are controlled but
they've changed
the format. I have written some code for Revolution to convert
between binary, ascii, hex &
numeric that I posted in the Scripters Scrapbook online section. I
did find a program that is
for the Mac that controls X10 devices so I know it can be done but it
may need a driver to
be written so you can do it with Revolution. Until I figure out what
type of info needs to be
sent to the USB device I won't be able to test it without a driver to
be sure if it needs one to
be written or not. If you can figure out how to control an external
serial device from Rev the
old device could be used instead of the new USB one.
-=>JB<=-
On Feb 3, 2009, at 5:41 AM, paolo wrote:
Dear friends, I had this crazy idea:
I would like to create a Rev application to control the temperature
of my room. So, I need my application to import the temperature
from a thermometer and switch on/off the heater.
I found documentation for an affordable external device in
internet : http://www.audon.co.uk/io8g.html
It says "Compatible with Profilab DAQ Software. " and "Can Utilize
a Simple Terminal Emulator to Control All Functions"
It says also: "Virtual COM port (VCP) drivers cause the USB device
to appear as an additional COM port available to the PC.
Application software can access the USB device in the same way as
it would access a standard COM port. "
Now, I have some questions:
Can we access the USB device using a standard COM ports from
Revolution?
Can we have Revolution to behave as a terminal Emulator to
control all Functions?
To summarize, do you think I can menage to control this external
device from Revolution?
Thanks a lot.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution