Hi,
In your LabVIEW program, you open a reference to your ActiveX object. You then Open something inside your object. At the end you Close something (the same thing you opened) inside your object, but you don't close the reference to your ActiveX object. You need to add a Close Reference function at the end of your VI to close this reference. I recommend that you add a Simple Error Handler at the end also. Refer to the attached picture for a visual.
Note: The reason why it works when you close the VI and then reopen it is because LabVIEW does some automatic "clean-up," which includes closing references.
Hope this helps!
Travis H.
National Instruments
Travis H.
LabVIEW R&D
National Instruments