I have tried to use gurux dlms simulator and followed the instructions as per the code and example video in the site . But when I tried to create the xml file while reading data from the meter i encountered an exception. The exception is stated as follows:
"Length can not be less than zero"
I gave all the required keys and password needed to read the meter
so can someone help me out why and how i can overcome this error/exception.
i'm using .net version of Gurux.DLMS.Simulator
Can you share your parameters? Is the client sending any data or is this happening before a connection is opened? This is a generic exception and it's doesn't tell anything.
Hi,
Hi,
Can you share your parameters? Is the client sending any data or is this happening before a connection is opened? This is a generic exception and it's doesn't tell anything.
BR,
Mikko
Gurux.DLMS.Simulator.Net.exe
Gurux.DLMS.Simulator.Net.exe -S [COM3:9600:8:None:1] -a Low -P XXXXXXXXX -g "0.0.1.0.0.255:1;0.0.1.0.0.255:2" -n Z10000057 -C AuthenticationEncryption -T ZEN00057 -A XXXXXXXXXXXX -B XXXXXXXXXXXXX -D XXXXXXXXXXXX -o C:\simulator_template.xml -t Verbose
The error is occurring before the connection is made to send any data. Above mentioned is the command that i'm using with respective parameters.
Hi,
Hi,
Try to read only one value at a time first. Change this Z10000057 to 10000057. There are no chars in the serial number.
BR,
Mikko