完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,大家好!!
我需要使用Agilent 34401A通过测量电阻连续测量(0.01秒),同时直流电压源施加0到20伏的电压斜坡,Im使用GPIB ieee 488电缆连接万用表和计算机之间的连接 ,我的程序是用python编写的,使用以下SCPI命令* RST * CLS CONF:VOLT:DC 20 TRIG:SOUR:IMM TRIG:DEL 0.01 SAMP:COUN 1 TRIG:COUN 500 INIT FETC? 该程序曾经工作了一段时间,我可以进行500次测量,但后来发生了一些事情,我不能在读数存储器中存储超过25个值,每次我尝试更改TRIG:COUN或SAMP:COUN时 数字高于25,万用表中出现错误,有时是错误410,有时是430.有人可以请给我一个建议吗? 这个问题与SCPI程序或内存有关吗? 先谢谢你 以上来自于谷歌翻译 以下为原文 Hi everyone!! I need to take continous measurements (in 0.01 sec) with an Agilent 34401A through a measuring resistance while a dc voltage source applies a voltage ramp from 0 to 20 volts, Im using a GPIB ieee 488 cable for the connection between the multimeter and the computer, my program was written in python using the following SCPI commands *RST *CLS CONF:VOLT:DC 20 TRIG:SOUR: IMM TRIG:DEL 0.01 SAMP:COUN 1 TRIG: COUN 500 INIT FETC? The program used to work for a while, I could have the 500 measurements, but later something happend and I cant store more than 25 values in the reading memory, every time that I tried to change the TRIG:COUN or the SAMP:COUN with a number higher than 25 an error appears in the multimeter, sometimes is error 410 and sometimes 430. Does anyone could please give me an advice? is this problem related with the SCPI program or with the memory? Thank you in advance |
|
相关推荐
1个回答
|
|
嗨,我做了同样的测试,结果相似。
更改超时值后,问题得到解决。 errorStatus = viSetAttribute(vi34401A,VI_ATTR_TMO_VALUE,200000)=>在此示例中,timeout = 200sec。 VI_ATTR_TMO_VALUE的单位,以毫秒为单位。 关注YvesEdited:Tardz于2013年11月12日凌晨1点01分 以上来自于谷歌翻译 以下为原文 Hi, I have done same test with similar result. After change the value of timeout, problem was resolved. errorStatus = viSetAttribute(vi34401A, VI_ATTR_TMO_VALUE, 200000) => with this example, timeout = 200sec. unit of VI_ATTR_TMO_VALUE in msec. Regards Yves Edited by: Tardz on Nov 12, 2013 1:01 AM |
|
|
|
只有小组成员才能发言,加入小组>>
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评论
1289浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 00:05 , Processed in 1.627362 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号