By marco_semax, 19 July, 2016 Forums Gurux.DLMS Hey Mikko Why do I have to execute a method this way? public void RebootReset() { if (connection.IsOpen) { byte[][] a = client.Method("0.128.10.0.0.255", ObjectType.ScriptTable, 1, 1, DataType.UInt16); GXReplyData reply = new GXReplyData(); bool c = connection.ReadDataBlock(a, reply); } } If I just "execute" client.Method(x,x,x,y,y), it will just gegerate the message (C30141......) which I have to send. Am I missunderstanding something? Thanks beforehand Kind regards, Marco Execute a method Hi Marco, If you want to know why ReadDataBlock is used, reason is that if meter returns error we must get it and show it. Some methods might also return data. BR, Mikko Log in or register to post comments
Execute a method Hi Marco, If you want to know why ReadDataBlock is used, reason is that if meter returns error we must get it and show it. Some methods might also return data. BR, Mikko
Execute a method
Hi Marco,
If you want to know why ReadDataBlock is used, reason is that if meter returns error
we must get it and show it. Some methods might also return data.
BR,
Mikko