Hey Timothy... just a quick note. You can keep a session open and perform numerous operations without calling close. Once one operation is done, call all the necessary configuration functions you want and call Initiate again. You can use "Wait Until Done" to ensure that the operation is done before beginning reconfiguration. This prevents you from having to keep writing waveforms to the device each time.
I hope this helps.
Chris