Configuring LabVIEW, LabVIEW DSC, NI Variable Engine, and Lookout to Work with the Windows Firewall

本文介绍如何在Windows XP/Vista/7/8中配置防火墙设置,确保LabVIEW、LabVIEW DSC、NI Variable Engine及Lookout等软件不受防火墙阻拦。通过详细步骤指导用户为指定的应用程序创建例外。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Primary Software:
Primary Software Version:
2015
Primary Software Fixed Version: N/A
Secondary Software: Lookout, LabVIEW Modules>>LabVIEW DSC Module, LabVIEW Development Systems>>LabVIEW Full Development System, LabVIEW Development Systems>>LabVIEW Professional Development System

Problem:
I'm using the Windows Firewall in Windows XP/Vista/7/8, and I want to make sure that LabVIEW, LabVIEW DSC, NI Variable Engine, and Lookout will not be blocked by the firewall. What settings do I need to modify?

Solution:
Windows provides a firewall which can be enabled for additional network security. If the Windows firewall is enabled and a program attempts to access and open a network port, Windows will prompt the user to ask if they want to unblock the program.

Unfortunately, Windows does not prompt the user to ask about services on the system which attempt to access the network and they are blocked by default if the firewall is enabled. Some of the networking functionality built into National Instruments software relies on services which will be blocked unless specific exceptions are made in the firewall configuration. Without such exceptions, you may run into errors such as error -1950679035 when using Shared Variables that are hosted on the local machine.

Disabling the Windows firewall temporarily would be a quick way to verify if this is the cause of your issue; however, if you want to keep the firewall enabled, follow these steps to unblock NI's Shared Variable/Tag software:

Windows 7/8:
  1. Open the Windows Control Panel
  2. If on Windows 7, Click Windows Firewall.  If on Windows 8, click System and Security and then select Windows Firewall.
  3. Click Allow a program through the Windows Firewall
  4. If using Windows 7, click Change Settings
  5. Click Allow another program...
  6. Click Browse...
  7. Navigate to one of the executables listed below.
  8. Click Open
  9. Click Add
  10. Repeat steps 5 to 9 for the entire list of executables.
  11. All of the executables added during the previous steps and LabVIEW should now appear in the list of programs. Use the check boxes to allow the programs to be used with each Network Type (Private or Public). Make sure that your network type matches the exceptions.
  12. Click OK
  13. Close the window
  14. Reboot your computer
Windows Vista:
  1. Open the Windows Control Panel
  2. Click Allow a program through Windows Firewall under Security
  3. Click the General tab
  4. Ensure that Block all incoming connections is unchecked.
  5. Click the Exceptions tab
  6. Click Add program...
  7. Click Browse...
  8. Navigate to one of the executables listed below.
  9. Click Open
  10. Click Add
  11. Repeat steps 5 to 9 for the entire list of executables.
  12. All of the executables added during the previous steps and LabVIEW should now appear in the list of programs. Use the check boxes to allow the programs to be used with each Network Type (Private or Public). Make sure that your network type matches the exceptions.
  13. Click OK
  14. Close the window
  15. Reboot your computer
Windows XP:
  1. Open the Windows Control Panel
  2. Click Windows Firewall under Security
  3. Click the General tab
  4. Ensure that Don't allow exceptions is unchecked.
  5. Click the Exceptions tab
  6. Click Add program...
  7. Click Browse...
  8. Navigate to one of the executables listed below.
  9. Click Open
  10. Click Add
  11. Repeat steps 5 to 9 for the entire list of executables.
  12. All of the executables added during the previous steps and LabVIEW should now appear in the list of programs. Use the check box to allow the programs to be used on the network.
  13. Click OK
  14. Close the window
  15. Reboot your computer
Software Programs:

Note: For 32-bit operating systems, use C:\Windows\System32\ instead of C:\Windows\SysWOW64\

LabVIEW or LabVIEW DSC 8.x or Later:
  • C:\Windows\SysWOW64\lkads.exe
  • C:\Windows\SysWOW64\lktsrv.exe
  • C:\Program Files\National Instruments\Shared\Tagger\tagsrv.exe
  • C:\Windows\SysWOW64\nicitdl5.exe (if using LabVIEW DSC)
  • C:\Program Files\National Instruments\DataSocket\cwdss.exe (if using DataSocket)
LabVIEW or LabVIEW DSC 7.x or Lookout 6.0:
  • C:\Windows\SysWOW64\lkads.exe
  • C:\Windows\SysWOW64\lktsrv.exe
  • C:\Program Files\National Instruments\DataSocket\cwdss.exe (if using DataSocket)
  • C:\Program Files\National Instruments\LabVIEW x.x\dscengine.exe (if using LabVIEW DSC)
  • C:\Windows\SysWOW64\nicitdl5.exe (if using LabVIEW DSC)
  • C:\Program Files\National Instruments\Lookout x.x\lookout.exe (if using Lookout)
LabVIEW or LabVIEW DSC 6.x or Below or Lookout 5.1 or Below:
  • C:\Windows\SysWOW64\lkads.exe
  • C:\Windows\SysWOW64\lktsrv.exe
  • C:\Windows\SysWOW64\lkcitdl.exe(if using LabVIEW DSC)
  • C:\Program Files\National Instruments\DataSocket\cwdss (if using DataSocket)
  • C:\Program Files\National Instruments\LabVIEW x.x\dscengine.exe (if using LabVIEW DSC)
  • C:\Program Files\National Instruments\Lookout x.x\lookout.exe (if using Lookout)
Note: If running 32-bit LabVIEW file paths could be in C:\Program File (x86)\. E.g., C:\Program Files (x86)\National Instruments\DataSocket\ cwdss.exe


Related Links:
White Paper: Configuring Software and Hardware Firewalls to Support National Instruments Products
KnowledgeBase 37AEQJVI: Security Alert Dialog Box Appears When Launching LabVIEW on Windows XP SP2
White Paper: Networking Lookout or the LabVIEW DSC Module Across Firewalls
KnowledgeBase 3T9B75XL: Using Lookout, LabVIEW DSC and Network-Published Shared Variables with Firewalls

Attachments:


### LabVIEW VISA Communication Setup and Configuration on Linux For setting up and configuring LabVIEW with VISA for communication purposes under a Linux environment, it is essential to ensure that all necessary components are correctly installed and configured. National Instruments provides support for running LabVIEW along with NI-VISA on certain distributions of Linux. The installation process involves obtaining the appropriate version of LabVIEW and NI-VISA compatible with your specific distribution of Linux. Once these packages have been acquired from official sources or repositories provided by National Instruments, they should be installed following standard procedures outlined in documentation available through those channels[^1]. After successful installation, configuration may require adjusting system settings such as environment variables like `PATH` so that commands can locate required libraries when executing operations related to VISA communications within LabVIEW programs. Additionally, ensuring proper permissions exist for accessing hardware interfaces over which data will travel during program execution might also prove beneficial depending upon how one intends to deploy applications developed using this software combination[^2]. To utilize features unique to USB devices connected via interrupts specifically mentioned regarding "VISA Get USB Interrupt Data," users must confirm their device supports such functionality before attempting implementation into projects designed around real-time processing requirements where low latency could become critical factor influencing overall performance outcomes achieved while operating inside constrained resource environments typical found among embedded systems architectures built atop various flavors Unix-like OSes including but not limited to popular choices amongst developers working primarily outside Windows ecosystem boundaries set forth traditionally surrounding proprietary development platforms offered commercially today. ```bash export PATH=$PATH:/path/to/ni-visa/binaries sudo chmod a+rw /dev/ttyUSB0 # Example permission adjustment for serial port access ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值