Hello peda,
I could not find a quick solution to your problem, as testing your program without hardware isn't that easy...
But I made some changes:
- You should use more subvis: you do several tasks more than once -> put them in subvis...
- use the error cluster more often: you will not need sequences at all (look at my changes, it's not perfect but a start...)
- I would recommend not to use the "default value for outputs" on case
structures. In my opinion you should do some error checking in this
case (doing device communication with undefined device isn't
recommended, you do this after selection with "Belastung").
- recommendation: change "Belastung" to integer or change your device
selection: comparing a floating point number with an integer (as the
case statement does) can lead to problems (you will find many threads
on this in the forum). Even setting data range/coercion may not help...
Hope this may help you.
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019