Thank you for your suggestion, LVNinja!
I could set a zero output voltage when the program stopped.
I used the sequence structure that you suggested.
Also, I needed to wire the stop button output to the stop input of the DAQ Assistants.
Then, the DAQ Assistants in the sequence structures successfully worked without conflicting with the DAQ Assistants in the main loop.
Thank you all for helping me!