From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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.