原因:(1)由于可以在安装LabVIEW的过程中出现了问题,至使没有安装到NI Service Locator.
(2)由于系统防火墙原因,将NI Service Locator给禁用了。
(3)由于Norton Internet Security 、ZoneLabs ZoneAlarm、天网等防火墙没有给NI Service Locator访问权限。
(4)用过360安全卫士等软件,这些软件将系统原本加载的服务给禁用 解决方案:
(1)NI官方解释:Solution: The NI Service Locator is a service that runs in the background
of the operating system. This service enables the proper execution of
several features including the LabVIEW Example Finder and some help
options in LabVIEW. If this service is not running or is not running correctly,
some of these features will not execute correctly. A simple thing to try is to
restart the service. You can do this by opening up the Windows Services
window by going to Start » Control Panel » Administrative Tools » Services.
In the list of services you should see: NI Service Locator.
To restart this service, right-click on the entry and select Stop. Wait a
minute until the service has stopped and then right-click and select Start.
Restart LabVIEW and see if you still get this error.
这个问题我是久经折磨啊,就是防火墙把服务禁用了造成的!在防火墙规则里面找找,把和ni相关的都允许,就ok了!这个和安装没关系。