完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨大家好!你可以从主题中猜出我的DC电源N5771A有问题,我正在寻找一些有用的提示,因为我敢肯定,我不是那个遇到过这个问题的人。
我已经创建了一个程序,可以逐步降低输出电压(从40 V到2 V)但是当设备应用电压时我遇到了问题:如果我设置了一个固定号码(使用直接I / O对象和字符串“ 电压40“)电源响应应用正确的电压,但如果我使用变量作为直接I / O对象的输入(例如c,c从40变化到2),则器件不会改变输出电压 :? 。 我没有在“直接I / O事务”中找到任何帮助,如何写出随时间变化的电压。 也许有人建议我应该使用哪些编程代码?我已经尝试过:WRITE TEXT“VOLTAGE”+ c REAL64 STD:4 EOLWRITE TEXT“VOLT:LEV”+ C +“”谢谢!! 以上来自于谷歌翻译 以下为原文 Hi Everybody! as you can guess from the subject I have a problem with the DC Power Supply N5771A and I'm looking for some useful tips because I'm sure, I'm not the one who has faced this problem. I have created a program which reduces the output voltage progressively (from 40 V to 2 V) but I have a problem when the device should apply the voltage: if I set a fix number (using a direct I/O object and a string “VOLTAGE 40”) the Power Supply responds applying the correct voltage but if I use a variable as an input for the direct I/O object (for example c with c varying from 40 to 2), the device doesn’t change the output voltage :? . I haven’t found any help in “direct I/O transaction” how to write a voltage which changes with time. Can maybe someone suggest me which programming code I should use? I've already tried: WRITE TEXT "VOLTAGE"+c REAL64 STD:4 EOL WRITE TEXT "VOLT:LEV "+C+" " Thanks!! |
|
相关推荐
1个回答
|
|
嗨Ice,我是N5771A电源的支持工程师。
所以看起来我们遇到的问题与编程语法有关。 我相信我们在这里处理的类型是STRING。 因此,如果您有一个将电压值视为数字的算法,则必须将其转换为字符串并将其附加到“VOLT”字符串。 如果这有帮助,请告诉我。 如果您需要其他帮助,请随时直接与我联系。 谢谢。 史蒂文李 以上来自于谷歌翻译 以下为原文 Hi Ice, I am the support engineer for the N5771A power supply. So it looks like we have a situation where the issue has to do with the programming syntax. I believe the type we are dealing with here is a STRING. Hence, if you have an algorithm which treats the voltage values as numbers, you would have to convert it into a string and append it to the "VOLT " string. Let me know if this helps. Feel free to contact me directly if you need additional assistance. Thanks. Steven Lee |
|
|
|
只有小组成员才能发言,加入小组>>
1231 浏览 0 评论
2351 浏览 1 评论
2161 浏览 1 评论
2026 浏览 5 评论
2910 浏览 3 评论
974浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
707浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
808浏览 0评论
1231浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 08:09 , Processed in 1.323661 second(s), Total 45, Slave 39 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号