[time-nuts] ad-hoc I/O
Christian Vogel
vogelchr at vogel.cx
Fri Aug 28 18:08:55 UTC 2009
Hi Rick,
> The other problem I have with these kinds of devices is
> what to do about software to talk to them.
...
> The tutorials assume the program talks only to the "console"
> (keyboard mouse and monitor). No discussion of connecting
> to the LAN and interfacing with the hardware. What I
> have seen written about these topics is incomprehensible
> to me as an analog engineer.
what I say now might make me sound like a pleistocene fossil, but you
might want to have a look at TCL/TK (http://tcl.tk/). I used it in the
past to talk to network servers mostly, but also have used it to talk to
serial peripherals. There are extensions (BLT) to draw graphs built in.
Hello World (Button that says "Hello World" and closes the application):
: http://wiki.tcl.tk/488
Serial Port Logic Analyzer Screen Capture (first hit in the Wiki for
"serial port"...)
: http://wiki.tcl.tk/13583
(note that the last example could be adapted to a network-coupled serial
port by changing the "open" to a "socket"-call)
There's plenty more, tcl/tk is a real unix dinosaur (not something for
the hip Ruby-on-Rails folks...)
Chris
More information about the time-nuts
mailing list