完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我正在使用GPIB在E3631A直流电源上设置电压。
这样做没有问题,但我注意到,当我进行测量时,电压会下降0.02V左右。 测得的电压与设定电压相差不多。我使用IVI-COM驱动程序编写了一个Visual Basic .Net程序来执行此操作。 我在Agilent E36XX电源的IVI-COM驱动程序库中提到了'example1'。代码段如下:'初始化驱动程序ividc.Initialize(“GPIB :: 2”,False,True,“Simulate = true”) 'id query = false,reset = true pout1 = ividc.Outputs.Item(“Output1”)'设置输出电压电平pout1.VoltageLevel = 1.645'测量输出电压measVal = pout1.Measure(IviDCPwrMeasurementTypeEnum.IviDCPwrMeasurementVoltage)首先,设置 电压电平无误地进行,显示器上的设定电压是正确的。 但是测量电压的命令会导致显示器上的电压发生变化,并且变量measVal中包含的测量电压也不准确。任何想法出了什么问题?Isaac 以上来自于谷歌翻译 以下为原文 I am setting a voltage on the E3631A DC power supply using GPIB. There is no problem with doing that but I notice that when I take a measurement the voltage drops by a little, around 0.02V. The measured voltage differs from the Set voltage by that amount. I use the IVI-COM drivers and wrote a Visual Basic .Net program to do this. I referred to 'example1' in the IVI-COM driver libraries for Agilent E36XX power supplies. A segment of code is below: 'initialise driver ividc.Initialize("GPIB::2", False, True, "Simulate=true") 'id query=false, reset=true pout1 = ividc.Outputs.Item("Output1") 'set output voltage level pout1.VoltageLevel = 1.645 'Measure output voltage measVal = pout1.Measure(IviDCPwrMeasurementTypeEnum.IviDCPwrMeasurementVoltage) At first, setting the voltage level proceeds without error, the set voltage on the display is correct. But the command to measure voltage causes the voltage on the display to change and the measured voltage contained in the variable measVal is inaccurate. Any idea what went wrong? Isaac |
|
相关推荐 |
|
只有小组成员才能发言,加入小组>>
1844 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2449 浏览 5 评论
3458 浏览 3 评论
1844浏览 0评论
417浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 04:21 , Processed in 1.672407 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2004