Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
By Kurumi, 6 September, 2010
We have received lots of emails saying that communication with DLMS device is not working. All the emails are handling the same problem.
There is one catch when communicating with DLMS device. There is a message (packet) counter. Every time when a new message is sent, message counter is increased.
For this reason, after you start to communicate with DLMS component you can't create new DLMS component and use this component to communicate with same device. If you do so, message counter is not correct and device does not reply.
For the same reason, do not try to communicate with multible devices using the same component.
USE ONE COMPONENT TO COMMUNICATE WITH ONE DEVICE!
For example, when:
CGXCOSEMClass target = new CGXCOSEMClass();
//Set device settings.
//Send data and read response.
object data = target.SNRMRequest();
//CGXDLMSLimits limits = target.ParseUAResponse();
//Send data and read response.
data = target.AARQRequest();
target.ParseAAREResponse(Helpers.GetBytes(UnitTest_GuruxDLMS.Resources.FailedAAREResponse));
That is fine, but do NOT do this.
target = new CGXCOSEMClass();
//Set device settings.
data = target.GetObjects(RegisterObjectType.AssociationSn);
DLMS/COSEM VB sample
Hi,
You can find DLMS/COSEM VB 6. sample from here:
http://www.gurux.fi/node/263
Happy coding,
Mikko
instaling dlms component
hello
i want to use grux dlms component in vb6 how can i use it? how can i install it?
is there any example in vb6?