Hi,
first i tried to read in attribute index 3. But its returning 0 and i am getting read register error,
i i use index 2 not getting read register error.
I tried with even DLMS director i am getting the correct data . same we are reading voltage, current, powerfactor,kwh,kw reading through CGXDLMSClientExample.cpp rading values is correct.but we are missing decimal if i gave index 3 it returning 0 .
reading OBIS code values decimal is missing Primary tabs
Hi,
You must read scaler and unit before reading actual value. They are in attribute index 3.
BR,
Mikko
Hi,
Hi,
first i tried to read in attribute index 3. But its returning 0 and i am getting read register error,
i i use index 2 not getting read register error.
please give me suggestion to overcome this error.
Thanks,
pushpa
eading OBIS code values decimal is missing Primary tabs
Hi,
Try with this:
CGXDLMSRegister r("1.1.1.8.0.255");
comm.Read(&r, 3, reply);
comm.Read(&r, 2, reply);
BR,
Mikko
BR,
Mikko
eading OBIS code values decimal is missing Primary tabs
Hi mikko i tried with thi but i am getting the below error
gurux.dlms.client.bin: src/GXDLMSVarient.cpp:CGXDLMSVarient::ToDouble():Assertion '0' failed.
Aborted
please guide me in this
Reading OBIS code values decimal is missing Primary tabs
Hi,
Are you sure that you data is correct. Send data looks good, but reply is invalid.
BR,
Mikko
Reading OBIS code values decimal is missing Primary tabs
I tried with even DLMS director i am getting the correct data . same we are reading voltage, current, powerfactor,kwh,kw reading through CGXDLMSClientExample.cpp rading values is correct.but we are missing decimal if i gave index 3 it returning 0 .
Reading OBIS code values decimal is missing Primary tabs
Hi,
Can you send trace from send and received bytes to me by email. We can check this.
BR,
Mikko