<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>
<DIV>I couldn't find an implemntation except for <SPAN class=yshortcuts id=lw_1227556539_0>serial port</SPAN> with a c bridge:</DIV>
<DIV><A href="http://www.erlang.org/user.html#serial-1.0" target=_blank rel=nofollow><SPAN class=yshortcuts id=lw_1227556539_1><FONT color=#0000ff>http://www.erlang.org/user.html#serial-1.0</FONT></SPAN></A></DIV>
<DIV> </DIV>
<DIV>Is it possible to communicate directly with hardware without using c code?</DIV>
<DIV> </DIV>
<DIV>I understand that on linux hardware is a file so is it possible to talk with the hardware with io erlang functions?</DIV>
<DIV> </DIV>
<DIV>Thanks<BR></DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Ulf Wiger (TN/EAB) <ulf.wiger@ericsson.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Pablo Platt <pablo.platt@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> erlang-questions@erlang.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, November 19, 2008 5:46:54 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [erlang-questions] Erlang for a measurement system?<BR></FONT><BR><BR>How precise do the measurements need to be?<BR>You write "resolution of ms". If by that you mean +-1 ms,<BR>then you're problably going to have to control the machine<BR>pretty tightly, make sure that there are no cpu-bound tasks<BR>that can prolong context switches, etc. If it's ok to be off<BR>by some milliseconds now and again, then it will probably<BR>work. You should use a multi-core machine and make sure that<BR>the load stays fairly low.<BR><BR>From a
 programming perspective, controlling different devices<BR>was one of Erlang's core requirements from the start. It's<BR>one of the things it does really, really well.<BR><BR>BR,<BR>Ulf W<BR><BR>Pablo Platt skrev:<BR>> Hi,<BR>> <BR>> We are considering erlang for building a controlled measurement system in our laboratory.<BR>> The erlang software will control several devices using VISA (GPIB, RS232, USB).<BR>> <BR>> Are there any advantages for using erlang for this implementation?<BR>> Will erlang be able to control two different devices in parallel in a reliable way because of its 'share nothing' principle?<BR>> Is synchronizing several process (resolution of ms) an advantage of erlang or is it mainly an hardware issue?<BR>> Is synchronizing several computers(resolution of ms) an advantage of erlang?<BR>> Are there know implementations of erlang for controlling measurement devices (VISA)?<BR>> Is there an advantage of
 using erlang compared to python (<A href="http://pypi.python.org/pypi/PyVISA/1.3" target=_blank>http://pypi.python.org/pypi/PyVISA/1.3</A>).<BR>> <BR>> Appreciate your feedback,<BR>> Pablo<BR>> <BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> erlang-questions mailing list<BR>> <A href="mailto:erlang-questions@erlang.org" ymailto="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</A><BR>> <A href="http://www.erlang.org/mailman/listinfo/erlang-questions" target=_blank>http://www.erlang.org/mailman/listinfo/erlang-questions</A><BR></DIV></DIV></div><br>

      </body></html>