By pradson, 6 March, 2021 Forums Gurux.DLMS 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 Hi, 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 Hi Mikko, 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 Hi, 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 Log in or register to post comments
Hi, 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
Hi Mikko, 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
Hi, 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
Hi,
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
Hi Mikko,
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
Hi,
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