How to write capture-period of profile-generic objects into the meter?

4 posts / 0 new
Last post
pradson
How to write capture-period of profile-generic objects into the meter?

Hi Mikko,

How will I write capture-period of profile-generic object.

1- Share a c++ sample code for the same.
2- Using Gurux tool.

Kindly suggest

Thanks & Regards,
Pradson

Kurumi
Kurumi's picture

Hi,

You can do it like this:

CGXDLMSClient client(...);
CGXDLMSProfileGeneric pg("OBIS CODE");
std::vector<CGXByteBuffer> data;
CGXReplyData reply;
pg.Capture(client, data);
ReadDataBlock(data, reply);

BR,
Mikko

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

pradson

Hi Mikko,

Thanks for your reply.

Actually, I want to write the capture-period of profile-generic object.
Can this possible using DLMSDirector tool?

if yes, then how will I apply. Kindly share few steps.
If not, then kindly share a C++ sample program for the same.

Thanks,
Pradson

Kurumi
Kurumi's picture

Hi,

If Period is editable you can write it to the meter. However, there are meters that don't allow changing the capture period time.

You can write period as you write other values.

BR,
Mikko

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