完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
是否有一个命令将返回所有连接设备的VISA别名而不是完整地址?使用VB,我发送:ResourceString = ioMgr.FindRsrc(“?* INSTR”)这很好地返回连接的完整地址
USB设备,但它很长而且凌乱。 我正在尝试使用返回的信息填充下拉框(组合框)以供我的用户选择他们想要连接的设备,这样他们就不需要打开Connection Expert来查看设备地址或别名 是。 我可以按原样使用它,但我宁愿能够查询别名。有人知道这是否可行?干杯,杰夫 以上来自于谷歌翻译 以下为原文 Is there a command that will return the VISA alias of all connected devices rather than the full address? Using VB, I'm sending: ResourceString = ioMgr.FindRsrc("?*INSTR") This is nicely returning the full address of a connected USB device, but it is long and messy. I'm trying to use the returned information to populate a drop down box (combobox) for my user to select which equipment they want to connect to, this way they do not need to open the Connection Expert to see what the device address or alias is. I can work with it as it is, but I'd rather be able to query for the alias names. Does anyone know if this is possible? Cheers, Jeff |
|
相关推荐
2个回答
|
|
查看viParseRsrcEx函数。
与viFindRsrc结合使用的该函数将完成您要执行的操作。 这在随Agilent IO Libraries Suite一起安装的VISA功能参考中进行了讨论。 以上来自于谷歌翻译 以下为原文 Check out the viParseRsrcEx function. That function used in conjunction with viFindRsrc will complete what you are trying to do. This is discussed in the VISA Function Reference that is installed with the Agilent IO Libraries Suite. |
|
|
|
感谢您提供的信息,我会尽快调查您的提示。谢谢,杰夫
以上来自于谷歌翻译 以下为原文 Thanks for the info, I'll look into your tips shortly. Cheers, Jeff |
|
|
|
只有小组成员才能发言,加入小组>>
757 浏览 0 评论
2179 浏览 1 评论
1958 浏览 1 评论
1826 浏览 5 评论
2697 浏览 3 评论
662浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
462浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
552浏览 0评论
2348浏览 0评论
1399浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-12 21:24 , Processed in 1.341724 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号