Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5   

How Can I Access an ActiveX Server in LabVIEW?

Primary Software: LabWindows/CVI Development Systems>>LabWindows/CVI Full Development System
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

I have an ActiveX Server that I would like to access from LabVIEW. How can I configure and call this Server from LabVIEW?

In LabVIEW you can use an Automation to open the ActiveX Server. A reference to the ActiveX Class is obtained by configuring the Automation Refnum constant or control and passing this value to the Automation

Configuring the Automation Refnum to Reference the ActiveX Class:
  1. Right-click on the Automation Refnum constant or control
  2. Click Select ActiveX Class»Browse

  3. Click Browse and navigate to the ActiveX Class

  4. Select the ActiveX Class and Click OK

Accessing the Methods or Properties in the Server:
  • Use the ActiveX Invoke Node to access methods in the Server
  • Use the ActiveX Property Node to access properties in the Server

Related Links:
KnowledgeBase 1V18J38M: What ActiveX Features Does LabWindows/CVI Support?
White Paper: Building ActiveX Servers in LabWindows/CVI
White Papers: ActiveX and LabVIEW
LabVIEW Help: Using ActiveX with LabVIEW
LabVIEW Help: .NET and ActiveX Controls and Indicators


Report Date: 01/27/2009
Last Updated: 09/25/2017
Document ID: 4TQCMI5F

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit