I checked your latest AMI source and tried to read profile generic data in added scheduler.
If I have 1000 entries in the meter and want to read only last 50 entries or date range wise read. How can I read for the same?
I set profile capture period to 900(15 mins) and my schedule is set to 15 mins for the same.
Gurux.DLMS.AMI reads all the entries to the database from the meter. Reading data for the first time is taking a long time because all the rows are read from the meter, but after that only new rows are read.
In your case it reads only one row for each scheduled read after the initial read.
May I know how DLMS send the request for profile generic to get the next data chunk? Mean to say, what is the byte array includes to create the request for next chunk request?
Yes I knew that feature but I want to ask about the data which are splited in the chunks for big information like profile generic. When i read for 5 entries whole data wont come in a single frame. So my question is what should DLMS send in the each request for remaining data requests.
There is no simple answer to this. It depends if you want to get next HDLC frame or next data block. HDLC frame depends on the previous message-id what you sent and in block message there is block number.
I strongly suggest that you use our open source libraries. Otherwise, you need to read DLMS green book.
Hi,
Hi,
Gurux.DLMS.AMI reads all the entries to the database from the meter. Reading data for the first time is taking a long time because all the rows are read from the meter, but after that only new rows are read.
In your case it reads only one row for each scheduled read after the initial read.
BR,
Mikko
Thanks Mikko.
Thanks Mikko.
May I know how DLMS send the request for profile generic to get the next data chunk? Mean to say, what is the byte array includes to create the request for next chunk request?
Regards.
Hi,
Hi,
You can read data using range or entry. You give start and end index or start and end time to get data from the meter.
BR,
Mikko
Thanks Mikko,
Thanks Mikko,
Yes I knew that feature but I want to ask about the data which are splited in the chunks for big information like profile generic. When i read for 5 entries whole data wont come in a single frame. So my question is what should DLMS send in the each request for remaining data requests.
Regards.
Mikko,
Mikko,
Can you please update?
Regards.
Hi,
Hi,
It depends on the meter and what service your meter Is using. There is no simple answer to this.
BR,
Mikko
Thanks.
Thanks.
We are using Indian Standard with IS16444 and IS15959. If you find these info enough then please give some clue.
Regards.
Hi,
Hi,
There is no simple answer to this. It depends if you want to get next HDLC frame or next data block. HDLC frame depends on the previous message-id what you sent and in block message there is block number.
I strongly suggest that you use our open source libraries. Otherwise, you need to read DLMS green book.
BR,
Mikko
Thanks. Regards
Thanks.
Regards