Solution
When LabVIEW starts up it launches a service called Help Server. This opens TCP/IP ports to communicate with other NI applications, namely the NI Example Finder. Sometimes, the ports that these applications access are used by other applications.
To fix this problem, there are different approaches:
A) Restart the HelpServer
-
Navigate to C:\Program Files\National Instruments\LabVIEW x.x\resource\system. If you are on macOS navigate to /Applications/NationalInstruments/LabVIEW xxxx/ xx-bit/resource/system.
- Double-click on HelpServer.llb.
- Launch Set HelpServer Config Settings__NATIONALINSTRUMENTS.vi.
- Click the Enable Help Server? boolean button to change its value to TRUE.
- Run the VI once.
- Close the VI.
- Now the Example Finder should work.
You can also restart the HelpServer using the following steps:
- Navigate to C:\WINDOWS\system32.If you are on macOS navigate to /Library/Application Support/National Instruments/Service Locator
- Double-click on nisvcloc.exe.
- This starts the NI Service Locator service.
To ensure that this Service Locator automatically runs every time Windows starts:
- Navigate to Start » Program Files » Startup.
- Right-click in the menu and select Create Shortcut.
- Follow the steps to create a shortcut to C:\WINDOWS\system32\nisvcloc.exe.
To ensure that this Service Locator automatically runs every time macOS starts:
- Navigate to Start » Program Files » Startup.
- Click in the Apple menu and select System Setting » General » Login Items » Open at Login
- Click the "+" button and open a folder path to create a link to /Library/ApplicationSupport/NationalInstruments/ServiceLocator/nisvcloc as a Unix Executable File.
B) Change the Port used by the Help ServerIf the above steps did not solve the issue, then follow these steps to change the port used by the Help Server:
- Navigate to C:\Program Files\National Instruments\LabVIEW x.x\resource\system. If you are on macOS navigate to /Applications/NationalInstruments/LabVIEW xxxx/ xx-bit/resource/system.
- Double-click on HelpServer.llb.
- Launch the HelpServer__NATIONALINSTRUMENTS.vi.
- Now you can see the port that HelpServer is using. Change the port by stopping and running this VI several times.
- Hit the Stop button to see the 'Registered?' light go off. Now Run the VI and you will see it come on.
- On your last run, close the VI without stopping it.
- Now the Example Finder should work fine.
C) Change the firewall settingsAnother possible cause of the problem is if a firewall is blocking the TCP/IP ports the HelpServer is trying to use. Change the settings of the firewall to unblock the correct port.