是德科技
直播中

王利祥

7年用户 1378经验值
私信 关注
[问答]

使用最新固件2.40的DMM 34410A无法读取统计结果

使用最新固件版本2.40的DMM 34410A无法读取统计结果使用python我发送流命令:已发送:'SYST:PRES'已发送:'* RST'已发送:'* IDN?'
收到:'AgilentTechnologies,34410A,MY47000795,2.40-2.21-0.09-46-09  n'已发送:'CONF:VOLT:DC1,1e-4'已发送:'CALC:FUNC AVER'已发送:'CALC:AVER:CLE
'发送:'CALC:STAT ON'当试图读取结果时:发送:'CALC:AVER:AVER?'
收到:'+ 0.00000000E + 00  n'好像没有存储结果。
出现同样的情况:通过Interactive IO& amp;发送命令时
当采样电压&
当试图读取任何统计值(MAX,MIN ......)时是否有人遇到此问题?
谢谢。
编辑:UziB于2014年12月14日上午8:10编辑:UziB于2014年12月14日上午8:14编辑:UziB于2014年12月14日上午8:14

以上来自于谷歌翻译


     以下为原文

  Fail to read statistics results with DMM 34410A with latest firmware version 2.40

Using python I send the flow commands:  
Sent: 'SYST:PRES'
Sent: '*RST'
Sent: '*IDN?'
Received: 'AgilentTechnologies,34410A,MY47000795,2.40-2.21-0.09-46-09n'
Sent: 'CONF:VOLT:DC1,1e-4'
Sent: 'CALC:FUNC AVER'
Sent: 'CALC:AVER:CLE'
Sent: 'CALC:STAT ON'

When trying to read results:

Sent: 'CALC:AVER:AVER?'
Received: '+0.00000000E+00n'

As if there are no results stored.
The same occurs:
When send the commands via Interactive IO &  
When sampling voltage & when trying to read any of the statistics values (MAX, MIN….)
Did anyone encounter this?
Thanks.

Edited by: UziB on Dec 14, 2014 8:10 AM

Edited by: UziB on Dec 14, 2014 8:14 AM
Edited by: UziB on Dec 14, 2014 8:14 AM  

回帖(1)

杨梅

2018-11-8 10:27:15
您尚未进行任何测量。
基本上你配置了测量,但从未说过GO。
当您处于远程状态时,DMM不会像在本地模式下那样自动触发/采样。
你必须告诉它你想要多少样品。
所以你的代码应该是这样的:发送:'SYST:PRES'发送:'* RST'发送:'* IDN?'
收到:'AgilentTechnologies,34410A,MY47000795,2.40-2.21-0.09-46-09  n'已发送:'CONF:VOLT:DC1,1e-4'已发送:'CALC:FUNC AVER'已发送:'CALC:AVER:CLE
'发送:'CALC:STAT ON'发送:'SAMP:COUNT 100(显然100是一个例子,选择你想要的多个读数)发送:'INIT(这将告诉DMM开始进行测量)发送:'* OPC?
(这将使DMM等待执行任何其他命令,直到读数完成,完成后将返回1)发送:'FETCH?
(可选,如果您想读出所有读数,请发送)发送:'CALC:AVER:AVER?'

以上来自于谷歌翻译


     以下为原文

  You haven't taken any measurements yet.

Basically you configured the measurment but never said GO.

When you are in remote the DMM doesn't autotrigger/sample like it does in local mode.  You have to tell it how many samples you want to take.

So your code should look something like this:

Sent: 'SYST:PRES'
Sent: '*RST'
Sent: '*IDN?'
Received: 'AgilentTechnologies,34410A,MY47000795,2.40-2.21-0.09-46-09n'
Sent: 'CONF:VOLT:DC1,1e-4'
Sent: 'CALC:FUNC AVER'
Sent: 'CALC:AVER:CLE'
Sent: 'CALC:STAT ON'
Sent: 'SAMP:COUNT 100  (obviously 100 is an example choose however many readings you want)
Sent: 'INIT     (This will tell the DMM to start taking measurements)
Sent: '*OPC? (This will make the DMM wait to execute any other commands until the readings are finished, will return a 1 when done)
Sent: 'FETCH? (Optional, send this if you want to read out all of the readings)
Sent: 'CALC:AVER:AVER?'
举报

更多回帖

发帖
×
20
完善资料,
赚取积分