Error 97 on ActiveX Property/Invoke Node

Updated Jul 23, 2019

Reported In

Software

  • LabVIEW

Issue Details

I am trying to communicate to an ActiveX application from LabVIEW. However, when I pass the automation refnum to any property node or Invoke node I get error -97.

Why are the property and invoke nodes not accepting this refnum?

Solution

A possible cause for this error is not passing the automation refnum to the "Automation Open" node before passing it to the property or invoke nodes. Make sure to include the "Automation Open" node as shown in the following image.