完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,我最近开始担任C#程序员,我对安捷伦产品知之甚少,因此我希望这个论坛对我有所帮助。
我们希望自动化适配器删除过程。 现在,我知道技术如何手动完成(通过使用校准向导,然后使用Adapter Char宏)。 我一直在寻找一些关于如何自动化过程并且一无所获的解决方案/逻辑。 如果有人可以帮助我学习一些学习资料,甚至可以链接到我应该从哪里开始会很棒。 谢谢 以上来自于谷歌翻译 以下为原文 Hello, I recently started working as a C# programmer, I do not have much knowledge about Agilent products and hence I am hoping this forum would help me. We are looking to automate the adapter removal process. Now, I know how a tech does it manually (by using the calibration wizard and then using Adapter Char macro). I have been looking for some solution/logic as to how to automate the process and have found nothing. If someone could help me with some study material or even links as to where should I start from would be great. Thank you |
|
相关推荐
4个回答
|
|
谢谢你的回复。
我一直试图找到一种自动化校准过程的方法。 我们开发了首先测量标准然后DUT的应用程序,之后我们正在寻找适配器去除。 现在,问题是,我可以让应用程序使用以下代码:this.visa = new SrqMessageBasedSession(“GPIB0 :: 16 :: INSTR”); this.visa.Write(“sens:corr:coll:guid:conn:port1'APC 2.4 male'”); this.visa.Write(“sens:corr:coll:guid:conn:port2'APC 2.4 female'”); this.visa.Write(“sens:corr:coll:guid:ckit:port1'85056A'”); this.visa.Write(“sens:corr:coll:guid:ckit:port2'85056A'”); //启动校准并查询步数this.visa.Write(“sens:corr:coll:guid:init”); string numSteps1 = this.visa.Query(“sens:corr:coll:guid:steps?”); string [] numStepsSplit = numSteps1.Split('+',' n'); string numStepsValue = numStepsSplit [1]; int numSteps = Convert.ToInt32(numStepsValue); for(int i = 1; i {string step =“Step”+ i +“of”+ numSteps; this.visa.Write(“sens:corr:coll:guid:desc?”+ i); string strPrompt = this .visa.ReadString(); //在缓冲区中读取字符串值MessageBox.Show(strPrompt,step); this.visa.Write(“sens:corr:coll:guid:acq STAN”+ i);} this.visa。 写(“sens:corr:coll:guid:save”);问题是,用于滑动加载的messageBox显示在PNA上,而不是Windows应用程序本身的其他消息框。 请注意,如果有办法控制校准向导。这个命令:this.visa.Write(“SYST:CORR:WIZ MAIN”);启动校准向导。但有没有办法我们可以设置下面的步骤: 1)选择SmartCal选项2)选择校准类型端口为1 3)选择DUT连接器和校准套件4)然后让用户继续校准向导任何帮助表示赞赏。 我是一名学习者,只是想了解PNA的工作原理。 谢谢 以上来自于谷歌翻译 以下为原文 Thank you for replying back. I have been trying to find out of a way to automate the calibration process. We developed the application which measures the standards first then the DUTs and after that we are looking to do the adapter removal. Now, the issue is, I can have the application use the following code : this.visa = new SrqMessageBasedSession("GPIB0::16::INSTR"); this.visa.Write("sens:corr:coll:guid:conn:port1 'APC 2.4 male' "); this.visa.Write("sens:corr:coll:guid:conn:port2 'APC 2.4 female' "); this.visa.Write("sens:corr:coll:guid:ckit:port1 '85056A' "); this.visa.Write("sens:corr:coll:guid:ckit:port2 '85056A'"); //Initiate the calibration and query the number of steps this.visa.Write("sens:corr:coll:guid:init"); string numSteps1 = this.visa.Query("sens:corr:coll:guid:steps?"); string[] numStepsSplit = numSteps1.Split('+', 'n'); string numStepsValue = numStepsSplit[1]; int numSteps = Convert.ToInt32(numStepsValue); for (int i = 1; i <= numSteps; i++) { string step = "Step " + i + " of " + numSteps; this.visa.Write("sens:corr:coll:guid:desc? " + i); string strPrompt = this.visa.ReadString();//read string value in buffer MessageBox.Show(strPrompt, step); this.visa.Write("sens:corr:coll:guid:acq STAN" + i); } this.visa.Write("sens:corr:coll:guid:save"); The issue with this is, the messageBox for sliding loads show on the PNA as opposed to the message boxes for others on the windows application itself. Another idea that comes into my mind is if there is a way to control the Calibration Wizard. This command : this.visa.Write("SYST:CORR:WIZ MAIN"); launches the Calibration Wizard. But is there a way we can set the next steps like : 1) Choosing SmartCal option 2)Selecting the Cal Type Port as 1 3)Selecting the DUT connectors and Cal Kits 4)Then let the user continue with the Calibration Wizard Any help is appreciated. I am a learner , just trying to understand how the PNA works. Thank You |
|
|
|
当你有一个带有滑动负载的cal时,那么一个或多个获取步骤就变成了复合获取步骤,我们有一个命令告诉cal引擎你想如何处理这种情况。
命令如下:SENSe:CORRection:COLLect:GUIDed:PREFerence:SLIDingload你可以找到有关使用这个命令的信息和示例程序* _here * _ 以上来自于谷歌翻译 以下为原文 When you have a cal with a sliding load, then one or more of the acquire steps become compound acquire steps and we have a command that tells the cal engine how you want to deal with that situation. the command is the following: SENSe:CORRection:COLLect:GUIDed:PREFerence:SLIDingload you can find the information about using this command and an example program *_here*_ |
|
|
|
所以我刚跟一个技术人员说过,他说他们在去除适配器的同时尽量避免滑动负载。
所以我想我的问题只会是只要处理校准向导。 只有设置部分? 以上来自于谷歌翻译 以下为原文 So I just spoke to a tech and he says that they try to avoid the Sliding Loads as much as possible while doing the adapter removal. So I guess my question would only be if there is anyway to just handle the Calibration Wizard. Only the setting up part? |
|
|
|
解决方法是选择85056D套件。
不幸的是没有方便的方法来选择A套件然后不做滑动负载cal ... Brad ..你在听 以上来自于谷歌翻译 以下为原文 The work around is choose the 85056D kit. Unfortunately there is no convenient way to select the A kit and then NOT do the sliding load cal... Brad..are you listening |
|
|
|
只有小组成员才能发言,加入小组>>
1269 浏览 0 评论
2371 浏览 1 评论
2187 浏览 1 评论
2061 浏览 5 评论
2942 浏览 3 评论
1072浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
742浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
891浏览 0评论
1269浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-17 02:27 , Processed in 1.447725 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号