Introducing GXSerial

1 viestiä / 0 new
Uusin kirjoitus
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
Käyttäjän Kurumi kuva

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
Käyttäjän Kurumi kuva

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

TaeSoo_Han

Sir, Do you have delphi source code about SNRM, UA, AARQ, AARE, Get-Request, Get-Response?

If you have, please let me get it.

Thanks a lot.

Thank a lot

Kurumi
Käyttäjän Kurumi kuva

Dear Sir,

Please, if you have a new question, create a new topic.
You can get source codes to Delphi from GitHub.

https://github.com/Gurux/Gurux.DLMS.delphi

BR,
Mikko

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

faijal

I want to connect multiple meters to the dlms-master via a single serial port.For that I am using RS-485 as it is designed to communicate between multiple devices connected to a single data line.So what modifications are needed in dlms-master(gurux c library based) application?.

Best Regards,

Faizy.

Kurumi
Käyttäjän Kurumi kuva

Hi Faizy,

Please, if you have a new question, create a new topic. I'll answer your question there.
http://www.gurux.fi/ForumRules

BR,
Mikko

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