Changing the Default Ports for TCP-Based NI-PSP (NI Linux Real-Time, Windows)
- Updated2025-03-11
- 2 minute(s) read
Changing the Default Ports for TCP-Based NI-PSP (NI Linux Real-Time, Windows)
Complete the following steps to create the LogosXT.ini file and use it to modify TCP ports NI Publish-Subscribe Protocol (NI-PSP) checks for availability.
- Create a new text document in the appropriate directory for your operating system:
Windows Directory
- Configure Windows to show all hidden folders.
- Navigate to the \National Instruments\Logos XT subfolder in the common application directory. The location of this directory depends on how you configured the installation of LabVIEW. The default location is C:\ProgramData\National Instruments\Logos XT. Create this subfolder if it does not exist.
- Create a new text document.
- Name the new text document LogosXT.ini and place it in the Logos XT subfolder.
- Log in to the RT target with administrator privileges.
- Navigate to the /etc/natinst/ directory.
- Create a new text document.
- Name the new text document
LogosXT.ini
Note The file system is case-sensitive.
- Open
LogosXT.ini
and enter the following text. [LogosXT]
LogosXT_PortBase = 59110
LogosXT_NumPortsToCheck = 100
Note LogosXT_PortBase specifies the port where the NI-PSP protocol begins to check availability. LogosXT_NumPortsToCheck specifies the maximum number of ports the protocol checks. By default, NI-PSP begins checking port availability at port 59110 and checks a maximum of 100 ports. - To modify the first port the NI-PSP protocol checks for availability, delete 59110 and enter a different port number for LogosXT_PortBase. To modify the maximum number of ports the NI-PSP protocol checks for availability, delete 100 and enter a different number for LogosXT_NumPortsToCheck.
- Save and close LogosXT.ini. The changes take effect when you restart LabVIEW.