Select Tools»Options to display the Options dialog box and select VI Server 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 from the Category list to display this page.
To configure VI Server options for the main application instance, display this page from the Options dialog box. To configure VI Server options for a target, display this page from the Properties dialog box for the target. To configure VI Server settings for a project application instance, right-click the target in the Project Explorer window.
This page includes the following components:
Protocols—Use this section to configure the VI Server. The default VI Server settings are ActiveX enabled and TCP/IP disabled.
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 in the Machine Access section of this page. This checkbox does not contain a checkmark 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.
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 contains a checkmark by default. To edit Service name, remove the checkmark from the checkbox.
ActiveX—(Windows) Enables VI server support for ActiveX Automation. This checkbox is available only from the Tools»Options navigation. This checkbox contains a checkmark by default.
VI Scripting—Use this section to enable VI Scripting.
Show VI Scripting functions, properties and methods—Enables VI Scripting functions on the VI Scripting palette and additional VI Server properties and methods. All functions, properties, and methods you enable through VI Scripting display as blue.
Display additional VI Scripting information in Context Help window—Displays connector pane terminal numbers in the Context Help window. Place a checkmark in the Show VI Scripting functions, properties and methods checkbox to enable this option.
Accessible Server Resources—Use this section to indicate 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 contains a checkmark by default.
VI properties and methods—Allows remote applications to read and set the properties of VIs and to call methods for VIs through the VI Server. If you allow remote applications access to VIs, specify which VIs can be exported. This checkbox contains a checkmark by default.
Application properties and methods—Allows remote applications to read and set the properties of the application instance and to call methods for the application instance through the VI Server. This checkbox contains a checkmark by default.
Control properties and methods—Allows remote applications to read and set the properties of controls and to call methods for controls through the VI Server. This checkbox contains a checkmark by default.
Machine access list—Lists machines that do and do not have access to the VI Server. You also can use the Server:TCP/IP Access List property to list programmatically the TCP/IP addresses of machines that may access the VI server.
Note If you change the Machine access list, machines that are currently connected to the VI server will not be disconnected even if they are no longer allowed access to the server.
Machine name/address—Enter the name or IP address of the machine you want to add to the Machine access list.
Allow access—Allows access to the machine(s) selected in Machine access list.
Deny access—Denies access to the machine(s) selected in Machine access list.
Add—Adds a new entry to the Machine access list. The new entry appears below the selected entry in the Machine access list.
Remove—Removes the selected entry from the Machine access list.
Exported VIs—Use this section to add, edit, and remove VIs from the Exported VIs list.
Exported VIs list—Lists the VIs that can be exported. You also can use the Server:VI Access List property to list programmatically the VIs on the VI Server that are accessible by remote clients.
Exported VI—Enter a VI to list in Exported VIs. You can use wildcards in the VI name or directory path you enter.
Allow access—Allows access to the VI(s) selected in Exported VIs. This option is selected by default.
Deny access—Denies access to the VI(s) selected in Exported VIs.
Add—Adds a new entry to Exported VIs.
Remove—Removes the selected entry from Exported VIs.
User Access—Use this section to control user access to VIs through the VI Server.
You also can use the Domain Account Manager to manage domain users and groups.
User and group access list—Lists users and groups that can and cannot access the VI Server. If you do not include users or groups in this list, all users and groups associated with machines that have access permission can access the VI Server.
Note If the User and group access list is changed, users that are currently connected to the server will not be disconnected even if they are no longer allowed access to the VI Server.
Allow access—Allows access to the users and groups selected in User and group access list.
Deny access—Denies access to the users and groups selected in User and group access list.
Add—Displays the Add Users and Groups dialog box, in which you can select a domain, user, and group.
Remove—Removes the selected entry from the User and group access list.