Hi Florian,
why do you need a formula node for this? Use a simple comparison followed by Select function…
Hints:
- Btw. your comparison is flawed: it's not clear what will happen for "level == command"! (Well it is due to execution flow, but is isn't defined very well.)
- When using a simple switching control algorithm usually a hysteresis is applied too…
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019