26.03.2020, 15:46
(26.03.2020, 15:26)admin Wrote: sendqueries expects cmds table instead of a single cmd. This is fixed in CANx-DALI app version 20200326. Now the return value will depend on supplied arguments. Single cmd request will return query value on success. When cmds table is passed a table of values will be returned even when cmds table has only one command.
This will work in previous app version:
Code:data = canxdali.sendqueries({
lineid = 0,
nodeid = 2,
cmds = {
{ cmd = "queryactual", address = "s20" }
}
})
Tried it. Working!!!
Thank you very much!!!