如何利用Datasocket连接OPC Server 主要软件: Other NI Software>>DataSocket主要软件版本: 主要软件修正版本: 次要软件: N/A
问题: 我了解我可以通过Datasocket与OPC Server进行通信,那么我如何连接和断开服务器呢? 解答: DataSocket 帮您处理了上述工作。只要在DataSocket 读或写VI中(参见如下范例:dsopc.vi)输入一个有效的OPC地址即可。连接OPC Server的第一步是Datasocket通过调用一个相应的OPC server来建立连接。如果您使用Windows 2000/XP,您会看到相应OPC server会以进程方式运行。当VI停止时,进程也随之停止。 相关链接: Developer Zone Tutorial: Connecting LabVIEW to an OPC Server through a DataSocket Connection KnowledgeBase DIRECT-45GPP3: Using DataSocket with OPC KnowledgeBase 1JHG366Y: How Is the URL Built in DataSocket, and How Is It Used in LabVIEW? 附件:
报告日期: 10/01/2003 最近更新: 12/03/2007 文档编号: 320BS5OP |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
