17.07.2016, 22:35
(This post was last modified: 17.07.2016, 22:38 by Erwin van der Zwart.)
Hi,
You can store the original value of 1/1/1 into the storage when 1/1/2 is change to 1, when 1/1/2 goes to 0 then grab previous saved state of 1/1/1 from storage and write that value to 1/1/1
To store use:
storage.set('state', grp.getvalue('1/1/1'))
To write back use:
grp.write('1/1/1', storage.get('state'))
BR,
Erwin
You can store the original value of 1/1/1 into the storage when 1/1/2 is change to 1, when 1/1/2 goes to 0 then grab previous saved state of 1/1/1 from storage and write that value to 1/1/1
To store use:
storage.set('state', grp.getvalue('1/1/1'))
To write back use:
grp.write('1/1/1', storage.get('state'))
BR,
Erwin