Activating LabVIEW as an ActiveX Server
- Updated2025-04-01
- 1 minute(s) read
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.
- Select Tools»Options to display the Options dialog box.
- Select VI Server from the Category list.
- Place a checkmark in the ActiveX checkbox in the Protocols section of the VI Server page.
- Set the options in the Accessible Server Resources section of the page depending on your security needs.
- Configure VIs in the Exported VIs section to allow or deny access to VIs from external clients depending on your security needs.
- 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.