完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,我是这个电源的新手,特别是它的编程,所以我希望有人可以提供建议。
我们正在使用N6700B(带有N6752A模块,包括高速扩展)进行简单的实验,在这些实验中,我们在规定的时间内(通常为30秒到3分钟)重复打开和关闭电压(或电流)。 我们正试图使用Command Expert来控制它。 在同事的帮助下,我们能够创建一个简单的序列来进行脉冲(使用LIST并触发它),然后我就可以将它移动到Excel加载项中,这使我们更容易设置 条件。 我还想做两件事:1。等到脉冲完成,然后关闭输出,如果可能的话,提醒用户实验已经完成。 * WAI命令每次尝试使用它等待完成时都会给出错误; 我显然错过了一些东西。 在Excel加载项中,我注意到即使我们运行实验60秒,序列也会报告它在脉冲启动后立即完成。 如何让它等到LIST完成整个执行? 2.在运行结束时将电压和电流数据返回到Excel。 不知道从哪里开始。 非常感谢您的帮助。 抢 以上来自于谷歌翻译 以下为原文 Hello, I'm a novice to both this power supply and especially programming for it, so I'm hoping someone can offer advice. We are using the N6700B (with N6752A modules that include the high-speed extension) for simple experiments in which we pulse voltage (or current) on and off repeatedly over a prescribed period (typically 30 seconds to as long as 3 minutes). We're trying to control this using Command Expert. With the help of a coworker, we were able to create a simple sequence to do the pulsing (using a LIST and triggering it), and then I was able to move it into the Excel add-in, which makes it easier to set our conditions. There are two additional things I'd like to do: 1. Wait until pulsing is complete, then turn off the output and, if possible, alert the user that the experiment has completed. The *WAI command gives me an error every time I try to use it to wait for completion; I'm obviously missing something. In the Excel add-in, I've noticed that even if we're running the experiment for 60 seconds, the sequence reports that it has completed as soon as pulsing initiates. How can I make it wait until the LIST has finished the entire execution? 2. Bring voltage and current data back into Excel at the end of the run. No idea where to start on this. Thanks very much for any help. Rob |
|
相关推荐
4个回答
|
|
嗨Rob,让我们看看我可以在这里提出什么建议:1。我认为最好的办法是监控运行状态寄存器。
我在这里写了一篇关于这个功能的博客文章:电源注册博客文章。 您想要监视交泛位。 2.您需要使用数字化仪功能。 您可以将其设置为与瞬态触发器同步。 我在这里写了一篇博文:Sync Transient和Measurement Triggers博文。 请注意,如果您更容易解析,则可以将测量值读回ACSII而不是二进制格式。 如果您需要任何其他信息,请告诉我。 以上来自于谷歌翻译 以下为原文 Hi Rob, Let's see what suggestions I can make here: 1. I think that the best thing would be to monitor the operating condition register. I wrote a blog post about this feature here: Power Supply Registers Blog Post. You want to monitor the trans-active bit. 2. You need to use the digitizer feature. You can set it up to sync it with your transient trigger. I wrote a blog post about that here: Sync Transient and Measurement Triggers Blog post. Please note that you can read your measurements back as ACSII rather than binary format if that is easier for you to parse. Let me know if you need any other information. |
|
|
|
张友芬1 发表于 2018-9-11 10:16 你好马特,谢谢你的回复。 我已经设法通过阅读示例和大量的反复试验来完成这些编程。 它现在通常工作正常。 由于默认超时,我使用* WAI命令是有问题的; 增加超时解决了我到达那里的错误。 剩下的问题是试图从N6752A模块中获取电压和电流数据:我可以得到一个,或者另一个,但不能同时得到两个。 我的理解是这是模块的限制。 检索电压或电流的“FETCH:ARRAY”步骤工作得很好,并使用相应的“SENSE:SWEEP”命令使用时间间隔和我指定的点数将数据返回到Excel。 我在2012年回顾了关于N6700B上ELOG命令的帖子,并认为这些可能有助于我解决获得电压和电流的问题,但Command Expert中似乎完全没有这些命令。 你期望他们在那里吗? 谢谢,罗布 以上来自于谷歌翻译 以下为原文 Hello Matt, Thanks for the reply. I've managed to get this programming mostly done by reading examples and a lot of trial-and-error. It’s generally working fine now. My use of the *WAI command was problematic because of the default timeout; increasing the timeout solved the error I was getting there. The remaining issue is trying to get both voltage and current data back from the N6752A modules: I can get one, or the other, but not both. My understanding is that this is a limitation of the modules. The “FETCH:ARRAY” step to retrieve either the voltage or current works just great, and the data is returned to Excel using the time interval and number of points I’ve specified using the appropriate “SENSE:SWEEP” commands. I read your post from back in 2012 about the ELOG commands on the N6700B and thought perhaps those might help me solve the problem of getting both voltage and current, but these commands appear to be entirely absent from Command Expert. Would you expect them to be there? Thanks, Rob |
|
|
|
嗨Rob,N6752A内置一个数字转换器,可以测量电压或电流,但不能同时测量。 N676xA模块有2个数字转换器,可以同时测量两个数字转换器。 ELOG是一个非常复杂的功能,需要循环在缓冲区填充之前回读数据,所以我不认为你可以编写一个能够充分利用该功能的命令专家程序。 我们确实有一些我在VB中编写的ELOG示例,我们应尽快发布。 以上来自于谷歌翻译 以下为原文 Hi Rob, The N6752A has a single digitizer in it that can measure either voltage or current but not both simultaneously. The N676xA modules have 2 digitizers that allow you to measure both at the same time. ELOG is a pretty complicated feature that requires a loop to read back the data before the buffer fills so I do not think that you can write a command expert program that will fully utilize the feature. We do have some ELOG examples that I wrote in VB that we should be posting soon though. |
|
|
|
张友芬1 发表于 2018-9-11 10:40 再次感谢,马特。 我们有几个N6761A模块,并计划转移到这个应用程序之一。 很高兴知道如果我们想要在N6752A模块上启用该功能,我们可以转向VB - 我期待看到编程示例。编辑:RobR于2015年11月19日下午5:25 以上来自于谷歌翻译 以下为原文 Thanks again, Matt. We have a couple of N6761A modules and plan to move to one of those for this application. It's good to know that we could move to VB if we want to enable the capability on the N6752A modules -- I'll look forward to seeing programming examples. Edited by: RobR on Nov 19, 2015 5:25 PM |
|
|
|
只有小组成员才能发言,加入小组>>
1226 浏览 0 评论
2348 浏览 1 评论
2159 浏览 1 评论
2024 浏览 5 评论
2906 浏览 3 评论
972浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
705浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
806浏览 0评论
1228浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 08:12 , Processed in 1.622889 second(s), Total 84, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号