Download the Open G Toolkit from www.openg.org. There is a VI called Quit Application.vi that works great. I have used it with the very stupid Brooks 0154 SmartDDE Controller program to reset the application.
Be sure to save the document and close the DDE communication first.
Michael
www.abcdefirm.com