LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to close a referene to a instance of a COM class

Hello,
I'm using a Hilscher Profibus card to access I/O data in LabView. To get extended information from the device driver I'm calling a device manager COM class from LabView via ActiveX->Automation Open and ActiveX->Invoke Node.
So far everything is fine.
In the device manager class I call a method that creates/register an instance of a subclass in the device manager class. The called method returns a reference to the instance which I can use to call its methods, which is working fine.
The problem starts when I should release/unregister my sub class from the device manager. How can I do that? I have tried with Automation close without success.
To unregister the class from the device manager in Visual Basic the
reference is simply set to 'Nothing'. How can do I do that in LabView?
0 Kudos
Message 1 of 1
(2,480 Views)