Introducing GXSerial

5 posts / 0 new
Last post
Gurux Ltd
Introducing GXSerial
GXSerial offers an easy way to build multithreaded, serial communication applications. Using the GXSerial component with different development tools, such as Access, Delphi, Visual Basic, Java or Visual C++ is very easy. With component you get a Visual Basic sample that shows how to use the communication technique. Gurux communication medias have been made on the Windows API interface. Due to this, the components are very efficient and do not require external libraries or DLL files to operate.
AhmedAlanee

Hello,
You said "multithreaded" ,is there a demo for that ? thanks.

Kurumi
Kurumi's picture

Hi,

We do not have demo. What programming language you want to use?

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

AhmedAlanee

C#.Then is there any sample code , tutorial ,documentations ?
thank you.

Kurumi
Kurumi's picture

Hi,

For C# it's easy.
You just lock component like this.
GXSerial serial = new GXSerial("COM1");
lock(serial.SyncRoot)
{
//Send data what you want to send.
For sync send you can do like this.
lock (serial.Synchronous)
{
ReceiveParameters<string> p = new ReceiveParameters<string>()
{
Eop = Terminator,
WaitTime = WaitTime
};
serial.Send("Hello world!", null);
serial..Receive(p);
}
}

BR,

Mikko

}

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi