Activating LabVIEW as an ActiveX Server

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

When you activate LabVIEW as an ActiveX server, LabVIEW exports two classes: an application class and a virtual instrument class. The application class opens a reference to the virtual instrument class.

Complete the following steps to activate LabVIEW as an ActiveX server.

  1. Select Tools»Options to display the Options dialog box.
  2. Select VI Server from the Category list.
  3. Place a checkmark in the ActiveX checkbox in the Protocols section of the VI Server page.
  4. Set the options in the Accessible Server Resources section of the page depending on your security needs.
  5. Configure VIs in the Exported VIs section to allow or deny access to VIs from external clients depending on your security needs.
  6. Click the OK button.

If you want to call a stand-alone application from an ActiveX automation client such as Visual Basic, you must enable the ActiveX server for the application when you build the application. To do so, place a checkmark in the Enable ActiveX server checkbox on the Advanced page of the Application Properties dialog box.


Not Helpful