Adding a pause in a loop is quite trivial, here's one possibility:
(1) somewhere inside your main acquisition loop, add a small while loop containing a case statement.
(2) In the "true" case, add a 20ms wait.
(3) Create a "pause" button set to "switch when pressed".
(4) Place the pause button terminal inside that tiny loop, wired to the case structure and to the loop condition (set to "continue if true").
Result:
** If pause is not true, the loop does nothing. It just runs the empty case, then quits.
** Is Pause is "true", then it will continue to loop, checking every 20ms if the pause button is still pressed. Once it's released, the loop exits and data acquisition continues as before.