您好El Magnifico,请从此处下载并安装Agilent IO Library Suite 16.3:www.agilent.com/find/iosuite。
您可以在Agilent Connection Expert中设置LAN连接。
您可以指定默认协议(VXI-11),也可以使用套接字。
Agilent Connection Expert将提供可在VISA C ++程序中使用的VISA仪器地址。
样本VISA C ++程序可在Agilent Connection Expert的帮助 - >编程样本中找到。
我们还在Documentation-> API-> VISA下提供VISA帮助指南。
我强烈建议您下载支持N1914A的免费编程工具Agilent Command Expert。
可在此处下载:www.agilent.com/find/commandexpert。
此工具允许您从树中构建一系列SCPI命令来控制仪器。
完成后,导出功能将生成VISA C ++项目所需的所有代码。
Command Expert包含简单的10分钟入门指南,可帮助您快速入门。
以下是各种LAN协议所需的UDP / TCP端口列表安捷伦仪器使用NameProtocolPort它用于什么?注意VXI-11 / SICLLAN通信端口TCP动态,但通常从端口1024开始并从那里动态上升(您需要测试)
这适用于您的仪器)仪器的发现,与仪器的通信与ONC-RPC端口映射器一起使用ONC-RPC端口mapperTCP / UDP111仪器的发现,与仪器的通信与VXI-11 SICLLAN通信端口一起使用SCPI SocketsTCP5025Communication
使用仪器使用此端口打开原始TCP / IP连接以将原始SCPI命令发送到仪器HiSLIP TCP4880与仪器通信用于与较新的Agilent仪器通信SCPI TelnetTCP5024与仪器通信使用此端口打开与仪器的Telnet连接以发送SCPI
命令mDNS DiscoveryUDP5353发现instrumentmDNS用于dis
覆盖本地子网上较新的Agilent LXI仪器LXI EventsTCP / UDP5044Port仪器监听LXI事件所有安捷伦仪器均未实现此功能PTP EventsUDP 319Port在哪台仪器上监听精确时间协议事件消息并非所有安捷伦仪器都实现此功能ConnectivityEdited by:connectivity on
2013年4月29日上午9:48
以上来自于谷歌翻译
以下为原文
Hi El Magnifico,
Please download and install Agilent IO Library Suite 16.3 from here: www.agilent.com/find/iosuite . You can setup a LAN connection in Agilent Connection Expert. You can specify the default protocol (VXI-11) or you can use sockets. Agilent Connection Expert will provide a VISA instrument address that you can use in a VISA C++ program. Sample VISA C++ programs can be found in Agilent Connection Expert under help->Programming Samples. We also provide a VISA help guide under Documentation->API->VISA.
I would highly recommend that you download our free programming tool Agilent Command Expert which supports the N1914A. It can be downloaded here: www.agilent.com/find/commandexpert. This tool will allow you to build a sequence of SCPI commands from a tree to control your instrument. Once finished, the export feature will generate all the code needed for a VISA C++ project. Command Expert includes easy 10 minute getting started guide to get you started quickly.
Below is a list of UDP/TCP ports needed for the various LAN protocols Agilent instruments use
Name Protocol Port What is it for? Notes
VXI-11/SICLLAN communications ports TCP dynamic, but usually starts at port 1024 and dynamically goes up from there (you will need to test this for your instrument)
Discovery of the instrument, Communication with the instrument Used in conjunction with the ONC-RPC port mapper
ONC-RPC port mapper TCP/UDP 111 Discovery of the instrument, Communication with the instrument Used in conjunction with the VXI-11 SICLLAN communication ports
SCPI Sockets TCP 5025 Communication with the instrument Use this port to open a raw TCP/IP connection to send raw SCPI commands to the instrument
HiSLIP TCP 4880 Communication with the instrument Used to communicate with newer Agilent instruments
SCPI Telnet TCP 5024 Communication with the instrument Use this port to open a Telnet connection to the instrument to send SCPI commands
mDNS Discovery UDP 5353 Discovery of the instrument mDNS is used to discover newer Agilent LXI instruments on the local subnet
LXI Events TCP/UDP 5044 Port on which instrument listens for LXI Events Not all Agilent instruments implement this feature
PTP Events UDP 319 Port on which instrument listens for Precision Time Protocol Event messages Not all Agilent instruments implement this feature
Connectivity
Edited by: connectivity on Apr 29, 2013 9:48 AM