capturing output from device
Phil Davis
davis.phil at comcast.net
Sat Apr 29 13:04:29 EDT 2006
I would love to see this capability added to Rev, but I don't know how
difficult it might be. But the benefits would be there; for one thing,
it would open up the robotics world to Rev (and I guess USB device
management in general).
A year or so ago I needed a Rev-based app to communicate with a
custom-built HID input device, so we ended up having someone write a C
'passthrough' app to facilitate the communication. That app runs
invisibly and under my Rev app's control. It interacts with the host
controller ( via open source libUSB [Win] or a special .kext file [Mac]
) on the OS side, and with my Rev app via sockets on the application
side. Works reliably and is fast as lightning, but configuration is
always an issue on Windows.
How great it would be if Rev could read and parse USB HID structures!
Phil Davis
Sarah Reichelt wrote:
> On 4/29/06, Viktoras Didziulis <viktoras at ekoinf.net> wrote:
>
>> Does anyone know if there is a way to read data from usb, serial or
>> parallel
>> ports directly from within a stack? I have a GPS receiver connected to
>> my PC
>> and need to capture and preprocess data it is sending once per second. Is
>> this possible in transcript or should I mix tools and languages do do
>> this?
>
>
>
> Serial works fine, USB can't be done, although a USB-serial adapter
> will work fine. I don't know about parallel. If you need some
> pointers, there is a stack on my web site for testing serial input &
> output.
>
> <http://www.troz.net/Rev/tutorials/SerialTest.rev.gz>
>
> HTH,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list