I created a time-critical loop, normal-priority loop, and a host VIs using RT FIFOs using LabVIEW's Communication wizard to monitor the position of an encoder on the PXI-6527 on the host VI. The communication wizard creates stop buttons for the time-critical loop and the host VIs; however, not for the normal priority loop. When I run the programs it monitors the position of the encoder properly. However, when I go to stop the programs the normal-priority loop does not stop running. I have tried including a manual stop button on the normal priority VI's front panel, creating a RT FIFO stop button, and a global variable and the normal-priority loop keeps running. I have also tried waiting awhile to see if the normal-priority loop needs time to stop running, but it just keeps running.
How do I get the normal-priority loop to stop running without having to manually click the abort button?