Hi James,
The CVI adapter shouldn't get in the way, and the reason I used the Run / Quit technique was it's a simple way to wait for a specific condition from the panel to get it to return to TestStand. The downside to the Run/Quit, and then handling the discard separately, is the panel stays visible and in memory whilst the discard is waiting to happen.
The DiscardPanel is the main on that needs to be included, otherwise you're referencing to the same panel twice as TS won't have necessarily cleaned up after CVI.
Hope that helps, and your new implementation works.
S.
// it takes almost no time to rate an answer