完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我的测量设置包括: - 频率分析仪B& K 7667 - 带有Agilent Connection Expert 16的GPIB接口82357B - 带XP的笔记本电脑此配置有效:通过交互式Io我可以向分析仪发送命令并在笔记本电脑上检索结果
屏幕。 到目前为止还可以。 然而,我的问题是如何自动化通信。 我为RS232接口做了这种编程但是如何为GPIB制作类似的程序呢? 在这个“GPIB”程序中,必须将命令发送到分析仪,结果应存储在例如 一个文本文件。 我的问题:这可以在Connection Expert环境中用Visual Basic完成吗? 我们将不胜感激。 格哈德 以上来自于谷歌翻译 以下为原文 Hello, My measuring setup consists of: - frequency analyzer B&K 7667 - GPIB interface 82357B with Agilent Connection Expert 16 - laptop with XP This configuration works: Via the interactive Io I can send commands to the analyzer and retreive the results on the laptop screen. This is ok so far. My problem however is how to automate the communication. I did this kind of programming for RS232 interfaces but how can I make a similar program for GPIB? In this "GPIB"program a command must be sent to the analyzer and the result should be stored in e.g. a textfile. My question: can this be done within the Connection Expert environment with e.g Visual Basic? Your help will be appreciated. Gerhard |
|
相关推荐
1个回答
|
|
您好Gerhard,看起来您可以在Agilent Connection Expert中设置连接。
为了以编程方式控制仪器,您可以使用VISA(虚拟仪器软件Archectecture)API。 Agilent Connection Expert提供了一个VISA地址,该命令用于带有VISA的open命令。有关多个IDE的文档可以在Agilent Connection Expert的Help-> Documentation-> API Documentation-> VISA下找到。 它包括几个通过Visual Basic控制仪器的例子。 另外,我们使用Agilent Connection Expert-> Help-> Programming Samples提供示例。 我首先会开始看看VB的IDN(识别)程序,以帮助您入门。 此示例将向您展示如何使用VISA打开连接,发送/检索简单命令以及关闭连接。编辑者:在2013年1月9日下午1:46 以上来自于谷歌翻译 以下为原文 Hi Gerhard, It looks like you were able to setup a connection in Agilent Connection Expert. In order to programatically control the instrument you can use the VISA (Virtual Instrument Software Archectecture) API. Agilent Connection Expert provides a VISA address that is used in the open command with VISA.Documentation on this API for several IDEs can be found in Agilent Connection Expert under Help->Documentation->API Documentation->VISA. It includes several examples on controlling instruments through Visual Basic. Also, we ship examples with Agilent Connection Expert->Help->Programming Samples. I would first start to look at the IDN (Identification) program for VB to get you started. This example will show you how to use VISA to open a connection, send/retrieve a simple command, and close the connection. Edited by: connectivity on Jan 9, 2013 1:46 PM |
|
|
|
只有小组成员才能发言,加入小组>>
1226 浏览 0 评论
2348 浏览 1 评论
2158 浏览 1 评论
2024 浏览 5 评论
2904 浏览 3 评论
970浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
703浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
803浏览 0评论
1226浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 21:23 , Processed in 1.473728 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号