Using hardware in Erlang

Scott Lystig Fritchie <>
Sat Nov 30 18:12:35 CET 2002


>>>>> "ef" == Eduardo Figoli <> writes:

ef> I'm evaluating Erlang and I'd like to know the best choice for
ef> calling hardware synchronous mode functions. I read about
ef> linked-driver but I'm not sure if it's the right way.

The Erlang Driver Toolkit would be another option for creating such an
interface, if I understand your question correctly.  EDTK can be used
to create drivers for both the "linked-in" variety, which executes
within the same OS process as the Erlang virtual machine, and the
"pipe" variety, where the Erlang VM communicates with a separate OS
process via pipes and that separate process actually implements your
hardware control.

An ACM paper describing EDTK, along with the source code itself, can
be found at http://www.snookles.com/erlang/edtk/.  Alas, I've been
slow to finish the first complete round of documentation, but there
are several example drivers included in the source distribution.

The Open Directory Project has some links to examples that may be
helpful to you:
http://dmoz.org/Computers/Programming/Languages/Erlang/Contributions/Interfaces/

-Scott



More information about the erlang-questions mailing list