Hello dario,
first problem: missing sub-vi's. Maybe they take too long to operate.
Second problem: the second frame of the outer sequence (which contains
the event structure) has a big race condition: in the event you set the
'Quit', but in the while loop around you read from 'Quit'. There's no
order which happen's first (even is the read operation is likely the
first one)! Why don't you wire the boolean values directly to the stop
condition of the while loop? You don't need this local variable in
LabVIEW...
Now I attached a slightly changed version of your vi
🙂
Message Edited by GerdW on 07-17-2006 11:37 AM
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019