完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我一直在尝试开始编写自动化2 6631B PS和34970A的程序。
但我找不到任何代码示例来启动我。 如果有人有什么可以请你帮帮我。 否则我想知道一些可能对我有帮助的简单事情.-我需要什么包含/引用 - 发送命令/查询的语法 - 列出所有命令/查询谢谢 以上来自于谷歌翻译 以下为原文 Hello, I have been trying to start writing a program to Automate 2 6631B PS's and a 34970A. But I cannot find any code samples to get me started. If anyone has something could you please help me out. Otherwise I would like to know a few simple things that might help me. -what includes/references do I need -syntax for sending commands/queries -listing of all commands/queries Thank you |
|
相关推荐
3个回答
|
|
嗨,您是否正在使用Agilent IO Libraries与仪器进行通信?
如果你是的话,我应该能够找到一个例子。 仪器命令位于相应的编程指南中:6631B:http://cp.literature.agilent.com/litweb/pdf/5962-8198.pdf34970A(这实际上是一个帮助文件):http://www.home。 agilent.com/agilent/redirector.jspx?action=ref&cname=AGILENT_EDITORIAL&ckey=1838042&lc=eng&cc=US&nfr=-33640.536881544 以上来自于谷歌翻译 以下为原文 Hi, Are you using the Agilent IO Libraries to communicate with the instrument? If you are, I should be able to dig up a place for some examples. The Instrument commands are in the respective programming guides: 6631B: http://cp.literature.agilent.com/litweb/pdf/5962-8198.pdf 34970A (this is actually a help file): http://www.home.agilent.com/agilent/redirector.jspx?action=ref&cname=AGILENT_EDITORIAL&ckey=1838042&lc=eng&cc=US&nfr=-33640.536881544 |
|
|
|
嗨,Agilent IO Libraries有一些内置的C#示例,您可以使用它们。
34401A电压表有一个应该包含你需要的外壳。 您唯一需要做的就是将所有DMM命令交换为电源命令。 您可以通过转到开始 - > Agilent IO Libraries Suite - >编程示例 - > C#示例来查找示例。您能告诉我您要对电源做什么吗? 位于http://cp.literature.agilent.com/litweb/pdf/5962-8198.pdf的编程指南中有一些示例程序,您可以使用这些程序将仪器命令拉出。 如果你让我知道你想做什么,我也可以把你带到正确的道路上。 以上来自于谷歌翻译 以下为原文 Hi, The Agilent IO Libraries has some built in C# examples that you can use. There is one for the 34401A voltmeter that should contain the shell that you need. The only thing you would need to do is swap all of the DMM commands for the power supply commands. You can find the examples by going to Start -> Agilent IO Libraries Suite -> Programming Samples -> C# examples. Can you tell me what you want to do with the power supply? The programming guide located at http://cp.literature.agilent.com/litweb/pdf/5962-8198.pdf has some example programs that you can use to pull the instrument commands out of. If you let me know what you want to do I can put you on the right path also. |
|
|
|
为了进一步更新,我发现我的问题实际上不是连接,而是读取信息。
那是我得到问题的时候。 我已经使用了内置到连接管理器中的接口进行通信,并且它可以工作。 我在这个论坛上做了一些搜索,发现有些东西提到我的终结器可能是错的,但是从13(回车)改为10(换行)没有任何区别。 如果这引起任何人的注意,我会很感激输入,否则我会继续抨击它。 以上来自于谷歌翻译 以下为原文 To further update, I figured out that my problem is not in fact with connecting but in reading information back. That is when I get the issues. I have used the interface to communicate that is built into the connection manager and it works. I did some searching in this forum and found something mentioning that my terminator might be wrong but changing it from 13 (carriage return) to 10 (line feed) made no difference. If this sparks anyones mind I would appreciate input otherwise I'll just keep banging away at it. |
|
|
|
只有小组成员才能发言,加入小组>>
1271 浏览 0 评论
2371 浏览 1 评论
2187 浏览 1 评论
2061 浏览 5 评论
2943 浏览 3 评论
1082浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
744浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
902浏览 0评论
1271浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 18:09 , Processed in 1.445754 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号