<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi .... All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have sent this mail to the community last month.
But not a single reply received.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Referring to the documentation in erl_driver it
says "Also, the driver queue is an ErlIOVec."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, If any one can show me knows h</FONT><FONT
face=Arial size=2>ow to use the Erlang Driver Queue (ErlIOVec) to get
Driver Side Events to emulator, it will be a great help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=sanjaya@wavenet.lk href="mailto:sanjaya@wavenet.lk">Sanjaya Vitharana</A>
</DIV>
<DIV><B>To:</B> <A title=erlang-questions@erlang.org
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</A> </DIV>
<DIV><B>Sent:</B> Monday, 09 January 2006 01:13 pm</DIV>
<DIV><B>Subject:</B> How To Use Erlang Driver Queue</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi...!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How to use Erlang Driver Queue
(ErlIOVec) to get Driver Side Events to emulator?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have tried with driver_output_term(...). But it's
not work in the way i want, specially when I try to get the driverside events to
emulator.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can't we use the </FONT><FONT face=Arial
size=2>driver_enq(...) function to directly put the messages to the queue, &
get it from the emulator ? If it is possible, i'd like to know how this can be
done.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have tried with driver_enq(...) to put the data,
but don't receiced any event to the emulator. One thing I noted is,
when stop the driver it calls flush. It seems the data I put into the queue was
there till I stop the driver.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I don't know i'm going in a proper way or not. So
need any guidence from expert, because the documentation seems to be not enough
to for this topic.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV></BODY></HTML>