在实时系统上的VI Server报错 Error66或者1032
硬件: PXI/CompactPCI>>Controllers
问题: 当我运行LabVIEW VI或者生成的程序时,使用到了VI Server,我得到下面的错误:
Error 66 occurred at Open Application Reference in VI_NAME.vi.
Possible reasons:
LabVIEW: The network connection was closed by the peer.
Error 1032 occurred at Open VI Reference in VI_NAME.vi
Possible reasons:
LabVIEW: VI Server access denied.
解答: 确认您的RT Engine上的VI Server已经被配置成允许 Host PC连入。
1. 在项目浏览器窗口中右键点击 实时系统,并且选择Properties。
2. 点击VI Server:Configuration目录
3. 使配置符合下图。
4. 注意端口号是3363。
5. 点击VI Server:Machine Access,确保你主机PC的IP地址在TCP/IP的列表中。(如果将列表中输入*,那么所有的客户端都被允许访问VI Server)
6. 在选项对话框中的下拉菜单中,选择VI Server: Exported Vis,添加*到Exported VIs list。
7. 点击OK结束。
8. 右键点击目标,选择部署以部署VI Server属性。
9. 再次运行的VI。
相关链接: Development Zone Example: Using VI Server to Run LabVIEW Real-Time VIs Stored on an RT Series Hard Drive
附件:
报告日期: 02/28/2002
最近更新: 01/05/2012
文档编号: 2IRFCUKN
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.