Select Tools»Options to display the Options dialog box and select VI Server: Configuration from the Category list to display this page. If a target in a LabVIEW project supports the VI Server, you also can right-click the target, such as My Computer, select Properties from the shortcut menu, and select VI Server: Configuration from the Category list to display this page.
Use this page to configure the VI Server. To configure the VI Server for the main application instance, display this page from the Options dialog box. To configure the VI Server for a target, display this page from the Properties dialog box for the target.
The default VI Server settings are ActiveX enabled and TCP/IP disabled.
This page includes the following components:
- Protocols—Sets the protocols for the VI server.
- TCP/IP—Enables VI server support for TCP/IP. If you allow remote applications to connect using TCP/IP, you also should specify which machine addresses can access the VI Server on the VI Server: Machine Access page of the Options dialog box. This checkbox is unchecked by default.
- Port—Sets the TCP/IP port at which the VI server listens for requests. From Tools»Options this port number is 3363, by default, which is a registered port number reserved for use by LabVIEW. For targets, the default is 0 causing the operating system to dynamically select a port. If you want to run multiple application instances on the machine, each with its own VI Server running, you must have a unique VI Server port number. You also can use the Server:Port property to set the LabVIEW VI Server port programmatically.
 | Note The VI Server settings in the Options dialog box apply to the default application instance, or VIs not in a project. To set VI Server settings for a project application instance, right-click the target in the Project Explorer window. |
- Service name—Sets the service name for the VI Server TCP Instance. To retrieve an application reference without the port number, use Service name in conjunction with the Open Application Reference function by wiring a Service name to the polymorphic port number or Service name input.
If you display this page from the Options dialog box, this service name is Main Application Instance/VI Server by default. If you display this page from the Properties dialog box for a target, the service name is target name/VI Server by default. You can use the Server:Service Name property to set the service name programmatically.
- Use default—Sets Service name to its default value. This checkbox is checked by default. To edit Service name, remove the checkmark from the checkbox.
- ActiveX—(Windows) Enables VI server support for ActiveX Automation. This checkbox is only available from the Tools»Options navigation. This checkbox is checked by default.
- Accessible Server Resources—Indicates the tasks that remote applications can accomplish.
- VI calls—Allows remote applications to call VIs exported through the VI Server. If you allow remote applications access to VIs, specify which VIs can be exported. This checkbox is checked by default.
- VI properties and methods—Allows remote applications to read and set the properties of VIs through the VI Server. If you allow remote applications access to VIs, specify which VIs can be exported. This checkbox is checked by default.
- Application methods and properties—Allows remote applications to read and set the properties of the application instance through the VI Server. This checkbox is checked by default.
- Control methods and properties—Allows remote applications to read and set the properties of controls in exported VIs. This checkbox is checked by default.