Hi, i'm developer, im writing a C# code to communicate with a Fiscal Printer
(Argentine) throw serial port. I have a problem, my communication is
Asynchronously and i need to simulate a synchronously communication, i mean,
like this.
System.IO.Ports.SerialPort x = new ....
x.Open();
x.Write("SOME COMMANDS");
x.ReadeUntilEnd(),
x.Close();
the problem is that i dont have this kind of think, the serial port
communication is Asynchronously. I cant figure out how to do this.
Thanks a lot
Miguel A. Nievas - MCAD.NET - 27 Sep 2006 21:18 GMT
You can try to make a Loop in a thread.
Miguel A. Nievas
Microsoft IT Academy Instructor - New York
MCAD.NET
> Hi, i'm developer, im writing a C# code to communicate with a Fiscal Printer
> (Argentine) throw serial port. I have a problem, my communication is
[quoted text clipped - 11 lines]
>
> Thanks a lot