I have an ActiveX method that returns an object as a variant. The object has methods that can be called.
The following is functional vbscript code that I want to code into LabView.
Set Analyzer = WScript.CreateObject("CATC.USBTracer")
Set Trace1 = Analyzer.OpenFile("data_0_Sample.usb")
Trace1.Save "S:\data\test1.usb"
Trace1.Close
The first line is implemented in LabView as an Automation Open
The second line is implemented in LabView as an Invoke Node with OpenFile as the method
How do I use the variant to call the Save method from the returned object?