hi, am new in DLMS community.
this is my object lis.
gxObject* ALL_OBJECTS[] = {
BASE(association),
BASE(ldn),
BASE(hdlc),
BASE(clock1),
BASE(activePowerL1), BASE(voltageR), BASE(currentR), BASE(frequency),
};
below is the association view for this list
C:\Users\CNRG-IITD\smart meter\GuruxDLMS.c-master\GuruxDLMSClientExample\bin>client.exe -S COM3
InitializeConnection
GetAssociationView
-------- Reading Object AssociationLogicalName 0.0.40.0.0.255
Index: 2 Value: [AssociationLogicalName 0.0.40.0.0.255, AssociationLogicalName 0.0.40.0.1.255, Data 0.0.42.0.0.255, IECHDLCSetup 0.0.22.0.0.255, Clock 0.0.1.0.0.255, Register 1.1.21.25.0.255, Register 1.1.32.7.0.255, Register 1.1.31.7.0.255, Register 1.1.14.7.0.255]
Index: 3 Value: 0/1
Index: 4 Value: 0.0.0.0.0.0 0 0 0 5 8 1 1
Index: 5 Value: 0 0 0 0
Index: 6 Value: 0 0 05 8 2 0
Index: 7 Value: Gurux
Index: 8 Value: 2
Index: 9 Value: 00 00 00 00 00 00
Index: 10 Value: [
]
-------- Reading Object AssociationLogicalName 0.0.40.0.1.255
Index: 2 Value: [AssociationLogicalName 0.0.40.0.0.255, AssociationLogicalName 0.0.40.0.1.255, Data 0.0.42.0.0.255, IECHDLCSetup 0.0.22.0.0.255, Clock 0.0.1.0.0.255, Register 1.1.21.25.0.255, Register 1.1.32.7.0.255, Register 1.1.31.7.0.255, Register 1.1.14.7.0.255]
Index: 3 Value: 0/1
Index: 4 Value: 0.0.0.0.0.0 0 0 0 5 8 1 1
Index: 5 Value: 0 0 0 0
Index: 6 Value: 0 0 05 8 2 0
Index: 7 Value: Gurux
Index: 8 Value: 2
Index: 9 Value: 00 00 00 00 00 00
Index: 10 Value: [
]
-------- Reading Object Data 0.0.42.0.0.255
Index: 2 Value: 47 52 58 30 30 30 30 30 30 30 31 32 33 34 35 36 00
-------- Reading Object IECHDLCSetup 0.0.22.0.0.255
Index: 2 Value: 5
Index: 3 Value: 1
Index: 4 Value: 1
Index: 5 Value: 128
Index: 6 Value: 128
Index: 7 Value: 25
Index: 8 Value: 120
Index: 9 Value: 16
-------- Reading Object Clock 0.0.1.0.0.255
Index: 2 Value: 01/01/1970 00:00:00.28233 UTC+00:00
Index: 3 Value: 0
Index: 4 Value: 0
Index: 5 Value: 03/LASTDAY/* 02:00:00.28233
Index: 6 Value: 10/LASTDAY/* 03:00:00.28233
Index: 7 Value: 60
Index: 8 Value: 0
Index: 9 Value: 2
-------- Reading Object Register 1.1.21.25.0.255
Index: 3 Value: Scaler: 1000 Unit: Active energy
Index: 2 Value: 1
-------- Reading Object Register 1.1.32.7.0.255
Index: 3 Value: Scaler: 0.100000 Unit: Active power
Index: 2 Value:
-------- Reading Object Register 1.1.31.7.0.255
Index: 3 Value: Scaler: 0.001000 Unit: Current
Index: 2 Value:
-------- Reading Object Register 1.1.14.7.0.255
Index: 3 Value: Scaler: 0.010000 Unit: Frequency
Index: 2 Value:
All items are read.
.
.
.
.
.
.
.
.
But now, If I add even a single new object in this list the output is this:
C:\Users\CNRG-IITD\smart meter\GuruxDLMS.c-master\GuruxDLMSClientExample\bin>client.exe -S COM3
InitializeConnection
GetAssociationView
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
Data send failed. Try to resend 3/3
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
Data send failed. Try to resend 3/3
ReadObject failed Register 1.1.21.25.0.255:3 Data receive failed.
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
Release failed.Close failed.Data receive failed.
.
.
.
.
.
.
How can I resolve this issue?
Hi, I believe that your old…
Hi,
I believe that your old settings are read from the file, and it causes this error.
Remove settings.raw or settings.hex file if you change the association view objects or append the new objects.
BR,
Mikko
Hi, Actually, there are no…
Hi,
Actually, there are no such files in my project. I am working on a STM32 microcontroller with Gurux DLMS stack available on git.
Thanks
Hi, Check that you have…
Hi,
Check that you have initialized those new objects. The server returns an error if the object type is not set and it's zero.
BR,
Mikko