Using the LabVIEW Project Explorer Window
To enable the VI Server on NI Linux RT targets through the LabVIEW Project Explorer Window, please follow the steps below:
- Add your RT target to a LabVIEW project:
- Right-click on the project root and select New>> Targets and Devices...

-
- Select your target from the list. If the device is not automatically recognized in LabVIEW, select the Specify a target or device by IP address option, type the IP address that corresponds to your device, and select the model from the list.

- Right-click on the RT target and select Properties to open your device's Properties Dialog Box.

- Navigate to the VI Server category and enable the TCP/IP option. Then, click OK to close the Properties Dialog Box.

- Back in the Project Explorer Window, right-click on the controller and select Deploy to apply the latest changes and enable the VI Server.

Without Using LabVIEW
To enable the VI Server without using LabVIEW, please follow the steps below:
-
Access your RT controller shell.
- Run the vi /etc/natinst/share/lvrt.conf command in the shell to open the lvrt.conf in the vi editor.
- Press <I> on the keyboard to enter Insert mode and edit the file.
- Add the line server.tcp.enabled=True to the end of the file, as shown in the image below:

- Press <Esc> to exit the Insert mode.
- Type :wq to save the changes made to the file and exit the vi editor.
- Reboot the controller or run the /etc/init.d/nilvrt stop && /etc/init.d/nilvrt start command in the shell to reboot the LabVIEW Real-Time service on the target without power cycling it. This will start the VI Server.