完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
有没有办法以编程方式在仪器管理器中添加仪器?
以上来自于谷歌翻译 以下为原文 Is there a way to programmaticly add instrument in the Instrument Manager? |
|
相关推荐
6个回答
|
|
不是真的,可能不需要它。
在VEE中将仪器及其逻辑名称视为具有在仪器管理器中在设计时定义的默认设置(属性)的资源。在运行时,可以获取和/或设置资源属性,如VISA地址字符串,超时等。 使用Formula对象中的可编程属性(不再需要使用旧式控制引脚)。打开一个公式并输入您的仪器逻辑名称和a。 (比如'MyInstrument。')和代码完成将列出所有可用的属性。您也可以在函数和对象浏览器中找到它们。 以上来自于谷歌翻译 以下为原文 Not really and it is probably not needed. Consider an instrument and its logical name in VEE as a resource with default settings (properties) defined at design-time in the Instrument Manager. During run-time it is possible to get and/or set resource properties like VISA address string, timeout etc. using programmable properties in Formula objects (there is no need to use the old-style control pins anymore). Bring up a Formula and type in your instruments logical name and a . (like 'MyInstrument.') and code completion will list all available properties.You can also find them in the Function&Object Browser. |
|
|
|
muwurwr 发表于 2019-8-7 17:31 如果您开发一个完整的ATE系统,其配置永远不会改变,那就没问题。 但是想象一下这样一种场景,即用户可以使用多个COM端口,并且在运行时之前您不知道哪个端口将连接到特定的仪器。 使用Labview,您有一个显示已发现设备的下拉列表; 操作员可以选择分配给特定功能或交易系列的工具。 在校准练习期间必须更换设备时很方便。您无需担心让程序员来到并确保“连接专家”正确发现它并且在用户运行程序之前具有正确的别名。 以上来自于谷歌翻译 以下为原文 That's fine if you develop a complete ATE system whose configuration never changes. But imagine the scenario where a number of COM ports are available to a user and you don't know which port will have a particular instrument connected to it until run time. With Labview you have a drop-down list showing discovered equipment; the operator can choose which instrument to assign to a particular function or transaction family. Handy when equipment has to swapped during calibration exercises etc. You don't need to worry about getting a programmer to come and ensure that it is correctly discovered by "connection expert" and has the correct alias before the user can run the program. |
|
|
|
armortech 发表于 2019-8-7 17:44 在VEE程序中扫描所有GPIB和COM端口,然后以编程方式为每个仪器分配正确的地址/端口号非常容易。 我通常不打扰它,但我会在运行时扫描仪器制造和模型,然后加载适当的驱动程序。 这样,ATE设置中的设备无关紧要,程序仍然有效。 -法案 以上来自于谷歌翻译 以下为原文 It's pretty easy in a VEE program to scan all GPIB and COM ports and then programmatically assign the correct address/port number to each instrument. I generally I don't bother with that, but I do scan for instrument make and model at runtime and then load the appropriate drivers. That way it doesn't matter what equipment is in the ATE setup, the program will still work. -Bill |
|
|
|
derek88 发表于 2019-8-7 17:57 它+很容易为仪器分配端口/地址,但不容易将仪器分配给端口! 以上来自于谷歌翻译 以下为原文 It +is+ easy to assign a port/address to an instrument but not easy to assign an instrument to a port! |
|
|
|
凯文,这很容易。 在仪器管理器中使用一台VEE仪器,用于所有仪器I / O并以编程方式控制其地址。 您的ATE设置中的每个仪器都不需要拥有自己的VEE仪器。 例外情况是,如果您有一些具有非标准I / O要求的测试设备。 那将需要仪器管理器中的自己的仪器。 我已经使用这种威廉希尔官方网站 多年了,它运作得很好。 -BillEdited:WDrago于2014年9月10日下午12:01 以上来自于谷歌翻译 以下为原文 It's very easy, Kevin. Use one VEE instrument in Instrument Manager for all your instrument I/O and control it's address programmatically. There's no need for each instrument in your ATE setup to have its own VEE instrument. The exception of course is if you have a peice of test equipment with non-standard I/O requirements. That would need its own instrument in Instrument Manager. I've been using this technique for years and it works quite well. -Bill Edited by: WDrago on Sep 10, 2014 12:01 PM |
|
|
|
我懂了。
谢谢你 - 这是一个合理的解决方法。 真正有用的是,如果您可以将控制引脚添加到多仪器i / o盒中,以编程方式选择仪器,而不仅仅是下拉... Kevin 以上来自于谷歌翻译 以下为原文 I see. Thanks for that - it's a reasonable work-around. What would be really useful is if you could add a control pin to the multi-instrument i/o box to programmatically select the instrument instead of just having a pull-down... Kevin |
|
|
|
只有小组成员才能发言,加入小组>>
1288 浏览 0 评论
2375 浏览 1 评论
2194 浏览 1 评论
2064 浏览 5 评论
2951 浏览 3 评论
1116浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
755浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
929浏览 0评论
1291浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 13:09 , Processed in 1.559234 second(s), Total 86, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号