By taher_alfalah, 12 January, 2024 Forums Gurux DLMS for Android Hi, i need your kind support on how to write a value on ScriptTable attribute using the Android library. Thank you, Hi, Try to read Script tableā¦ Hi, Try to read Script table first, but you do it like this: GXDLMSScriptTable st = new GXDLMSScriptTable(); GXDLMSScript s = new GXDLMSScript(); s.Id = YOUR_SCRIPT_ID; //Add script actions that you want to execute. st.Scripts.Add(s); //Write script to the meter. write(st, 2); BR, Mikko Log in or register to post comments
Hi, Try to read Script tableā¦ Hi, Try to read Script table first, but you do it like this: GXDLMSScriptTable st = new GXDLMSScriptTable(); GXDLMSScript s = new GXDLMSScript(); s.Id = YOUR_SCRIPT_ID; //Add script actions that you want to execute. st.Scripts.Add(s); //Write script to the meter. write(st, 2); BR, Mikko
Hi, Try to read Script tableā¦
Hi,
Try to read Script table first, but you do it like this:
GXDLMSScriptTable st = new GXDLMSScriptTable();
GXDLMSScript s = new GXDLMSScript();
s.Id = YOUR_SCRIPT_ID;
//Add script actions that you want to execute.
st.Scripts.Add(s);
//Write script to the meter.
write(st, 2);
BR,
Mikko