11-20-2006 01:17 PM
11-21-2006 11:01 AM
Hi Tdot,
What you are doing is one method of unloading modules; however, there is an easier way. In your sequence file, you can easily change the Load and Unload options for your specific steps in the Properties menu under the Run Options tab. You can then set the DLL to unload after the step finishes executing. I would first try setting up your steps this way to see if this helps.
How are your devices being connected to your computer? For instance, are they are being connected via USB? By default, TestStand loads all of the DLLs when the sequence loads and unloads them at the conclusion of the sequence (unless you specify otherwise). Since TestStand is running these DLLs in process, even if TestStand is unloading the DLLs, it may not be losing the connection to (read: unloading) the driver you are using to communicate with your devices (for instance the driver to access the USB interface). This would explain why the device name continues to increment even after you unload the modules.
Matt M.
National Instruments
11-21-2006 02:30 PM
11-22-2006 03:45 PM