Lonkero have you actualy tried the code I've post???

I can sure you that it is not working on my setup, every time I use vars and "writevalue" inside a function and try to write a binary value I get a (Zero-length binary value) instead of "010000".
_________________________
Regards