@GBEN a écrit :
oh thank you - whoops that custom scale was supposed to be on the analog in, not the out. I mistakenly applied it to the analog write.
It could be useful to use a "0..100% to 4..20mA" scale for this output. In your code, you can then think of percentage of valve opening rather than current.