i am trying to read profile generic data using dlms ansi c code but i am not able to read please tell me how to configure and how to pass object. now i am trying bellow mentioned way but i am not able to read proper data please tell me as much as early i am hopefully waiting for your replay
When i am executing com_readrowbyentry function it is showing error "parameters are invalid" and retuns error 252
When i am debugged objectcapture and buffer size is zero but i am receiveing fram from energy meter and also when it is coming out of com_readrowbyentry the values are not updating stricture parameters but when i am reading instantaneous values com_read function not giving any error and after this function structure parameters of the object updated sorry for creating same topic 2 issues i will continue this one only please help me i am fully confuse i am tried with whatever functions given reading rows function and column function still after receiveing fram from energy meter it is going hdlc fram then it is going generic profile function to read captureobjects and buffer value but it showing both size is zero that's why it is not giving any value whatever above fram that fram i will get from the energy meter but captureobjects and buffer size showing zero and after coming out of com_readrowbyentry function it is showing error please sir tell me how to solved i am fully confused
using com_read(&prof_gen,3); function I tried to read generic profile but I am not getting any values may be I think I did mistake in configuration please just tell me what are the functions I want to use and configuration just send me to read one generic profile data because for gerenic profile configuration also I am using same functions whatever I am used for register type
Hi sir,
I am able to read eventlog1,2, 3 and billing profile but I am not able to read eventlog4 ,5,6 and load profile why I want to change any configuration to read event log4,5,6 and load profile
If you can't read all the data you should contact your meter vendor and verify that those event logs are implemented. Try to read all the data from failed event logs. Sometimes read by entry or range is not implemented for all historical values.
Hi sir ,
I am able to read through gurux GXDLMS Director but when I am trying to read through gurux ansci c code I am not able to read all eventlog how I can solve this issue
Hi sir,
I want read "All " but dlms ansci c code there is not at all implemented read_all function to read profile generic data
How I can read all data like option given in dlms director reading "All"
I am tried reading all profile generic data using bellow mentioned function's but I am not able to read
//Reading capture objects
Com_read(pg,3);
//Reading profile generic data
Com_read(pg,2);
And I am able to read some time using bellow mentioned function's only single row
//Capture objects reading
Com_read(pg,3);
//Reading data
Com_readrowbyentry(pg,1,1);
I am able read eventlog 1,eventlog2,eventlog3,billing profile some time I am not able to read eventlog3 and billing profile 2nd timeI am tried again and again but first time only I am able to read second time I am not able to read eventlog3 & billing profile what is the problem please tell me sir. Hopefully I am waiting for your reply
Hi sir ,
I am able to read continuously eventlog 1,eventlog2,eventlog3 and billing profile but I am not able to read eventlog4,eventlog5,eventlog6. Please tell me how to read in Java code I am able to read but in ansi c code I am not able to read and also using Guru director I am able to read please tell me how to read and what is the issue .I am waiting for your reply sir
Hi sir,
Than you so much your response sir Meter not returning anything when I am reading eventlog 4,5,6 and one more thing how I can set server address using c function any function is there to read and set server address
If you can read data with GXDLMSDirector, you need to check that OBIS code is correct. Make sure that you are reading using with same parameters and your authentication level is the same.
All profile generics are handled in the same way. It depends from the meter what kind of data is returned. Make sure that your start and endtime are same.
Hi,
Hi,
Please, don't make duplicates from the same topic.
I have answered your question here:
http://www.gurux.fi/node/13277
BR,
Mikko
Gurux dlms ansi c profile generic
When i am executing com_readrowbyentry function it is showing error "parameters are invalid" and retuns error 252
When i am debugged objectcapture and buffer size is zero but i am receiveing fram from energy meter and also when it is coming out of com_readrowbyentry the values are not updating stricture parameters but when i am reading instantaneous values com_read function not giving any error and after this function structure parameters of the object updated sorry for creating same topic 2 issues i will continue this one only please help me i am fully confuse i am tried with whatever functions given reading rows function and column function still after receiveing fram from energy meter it is going hdlc fram then it is going generic profile function to read captureobjects and buffer value but it showing both size is zero that's why it is not giving any value whatever above fram that fram i will get from the energy meter but captureobjects and buffer size showing zero and after coming out of com_readrowbyentry function it is showing error please sir tell me how to solved i am fully confused
Hi,
Hi,
Have you read capture objects first?
BR,
Mikko
Gurux dlms ansi c profile generic
using com_read(&prof_gen,3); function I tried to read generic profile but I am not getting any values may be I think I did mistake in configuration please just tell me what are the functions I want to use and configuration just send me to read one generic profile data because for gerenic profile configuration also I am using same functions whatever I am used for register type
Hi,
Hi,
Capture objects are updated to prof_gen struct.
Historical data you can get from buffer property.
BR,
Mikko
Gurux dlms ansi c profile generic
Hi sir,
I am able to read eventlog1,2, 3 and billing profile but I am not able to read eventlog4 ,5,6 and load profile why I want to change any configuration to read event log4,5,6 and load profile
Regards,
Raghavendra
Gurux dlms ansi c profile generic
Hi,
If you can't read all the data you should contact your meter vendor and verify that those event logs are implemented. Try to read all the data from failed event logs. Sometimes read by entry or range is not implemented for all historical values.
BR,
Mikko
Gurux dlms ansi c profile generic
Hi sir ,
I am able to read through gurux GXDLMS Director but when I am trying to read through gurux ansci c code I am not able to read all eventlog how I can solve this issue
Regards,
Raghavendra
Gurux dlms ansi c profile generic
Hi,
Are you reading using "Read last 0 days" or "All" in Director?
BR,
Mikko
Gurux dlms ansi c profile generic
Hi sir,
I am reading using count 1 and index1 first option in director
Gurux dlms ansi c profile generic
Hi sir,
Whatever I am method using in gurux GXDLMS Director is it wright. How I can read remaining log files
Regards,
Raghavendra
Gurux dlms ansi c profile generic
Hi sir,
I want read "All " but dlms ansci c code there is not at all implemented read_all function to read profile generic data
How I can read all data like option given in dlms director reading "All"
Regards,
Raghavendra
Hi,
Hi,
If you want to read all, you can use a normal read command. attribute index is 2. Something like:
cl_read(pg, 2);
or com_read(pg, 2);
BR,
Mikko
Gurux dlms ansi c profile generic
Hi sir,
I am tried reading all profile generic data using bellow mentioned function's but I am not able to read
//Reading capture objects
Com_read(pg,3);
//Reading profile generic data
Com_read(pg,2);
And I am able to read some time using bellow mentioned function's only single row
//Capture objects reading
Com_read(pg,3);
//Reading data
Com_readrowbyentry(pg,1,1);
I am able read eventlog 1,eventlog2,eventlog3,billing profile some time I am not able to read eventlog3 and billing profile 2nd timeI am tried again and again but first time only I am able to read second time I am not able to read eventlog3 & billing profile what is the problem please tell me sir. Hopefully I am waiting for your reply
Thanking you
Regards,
Raghavendra
Gurux dlms ansi c profile generic
Hi sir ,
I am able to read continuously eventlog 1,eventlog2,eventlog3 and billing profile but I am not able to read eventlog4,eventlog5,eventlog6. Please tell me how to read in Java code I am able to read but in ansi c code I am not able to read and also using Guru director I am able to read please tell me how to read and what is the issue .I am waiting for your reply sir
Regards,
Raghavendra
Hi Raghavendra,
Hi Raghavendra,
Please, don't create several questions. You need to give more info from this. Is meter returning anything or is it returning an error?
BR,
Mikko
Gurux dlms ansi c profile generic
Hi sir,
Than you so much your response sir Meter not returning anything when I am reading eventlog 4,5,6 and one more thing how I can set server address using c function any function is there to read and set server address
Regards,
Raghavendra
Hi Raghavendra,
Hi Raghavendra,
Are you sure that event logs are implemented to the meter? What if you read them with GXDLMSDirector, is meter returning anything?
BR,
Mikko
Gurux dlms ansi c profile generic
Hi sir,
Yes, i am able to read all eventlogs data using GXDLMSDirector.
Regards,
Raghavendra
Hi,
Hi,
If you can read data with GXDLMSDirector, you need to check that OBIS code is correct. Make sure that you are reading using with same parameters and your authentication level is the same.
All profile generics are handled in the same way. It depends from the meter what kind of data is returned. Make sure that your start and endtime are same.
BR,
Mikko
gurux dlms ansi c multi drop communication
Hi sir,
thank you so much for your replay .i will check and update.
Regards,
Raghavendra