旧的软件没有代码,TH9320 运行正常,用串口监控软件发现命令如下
*IDN?#10 Tonghui,TH9320,Version:1.3.6#10 *IDN?#10 Tonghui,TH9320,Version:1.3.6#10 DISP:PAGE MSET#10 MMEM:LOAD:STAT 1#10 MMEM:LOAD:STAT 1#10 FUNC:SOUR:STEP 1:AC:VOLT 500#10 FUNC:SOUR:STEP 1:AC:RTIM .6#10 FUNC:SOUR:STEP 1:AC:TTIM 1#10 FUNC:SOUR:STEP 1:AC:UPPC 20#10 FUNC:SOUR:STEP 1:AC:LOWC 0#10 FUNC:SOUR:STEP 1:AC:FREQ:50#10 FUNC:SOUR:STEP 1:AC:ARC 0 FUNC:SOUR:STEP 1:AC:FTIM 0.1#10 FUNC:SOUR:STEP 1:AC:FTIM 0.1#10 MMEM:STOR:STAT 1, Test#10 MMEM:STOR:STAT 1, Test#10 MMEM:LOAD:STAT 2#10 FUNC:SOUR:STEP 1:IR:VOLT 500#10 FUNC:SOUR:STEP 1:IR:RTIM .1#10 FUNC:SOUR:STEP 1:IR:TTIM 1#10 FUNC:SOUR:STEP 1:IR:FTIM .1#10 FUNC:SOUR:STEP 1:IR:UPPC 0#10 FUNC:SOUR:STEP 1:IR:LOWC .1#10 FUNC:SOUR:STEP 1:IR:RANG 0#10 MMEM:STOR:STAT 2, IR1#10 MMEM:STOR:STAT 2, IR1#10 MMEM:LOAD:STAT 1#10 MMEM:LOAD:STAT 1#10 FUNC:STARt#10 FETCh? AC,0.000,0.000#10 FETCh?#10 AC,0.220,0.000#10 FETCh?#10 AC,0.499,0.000#10 FETCh?#10 AC,0.499,0.000,PASS;AC,0.499,0.000,PASS#10 MMEM:LOAD:STAT 2#10 FUNC:STARt#10 FETCh?#10 IR,0.499,103292.703#10 FUNC:STOP#10 FUNC:STOP#10 MMEM:LOAD:STAT 1#10 MMEM:LOAD:STAT 1#10
新的软件,耐压测试部分代码基本是一样,怎么会出现这个情况呢? 新软件监控一下
*IDN?#10
Tonghui,TH9320,Version:1.3.6#10
*IDN?#10
Tonghui,TH9320,Version:1.3.6#10
DISP:PAGE MSET#10
MMEM:LOAD:STAT 1#10
MMEM:LOAD:STAT 1#10
FUNC:SOUR:STEP 1:AC:VOLT 500#10
FUNC:SOUR:STEP 1:AC:RTIM .1#10
FUNC:SOUR:STEP 1:AC:TTIM 1#10
FUNC:SOUR:STEP 1:AC:UPPC 20#10
FUNC:SOUR:STEP 1:AC:LOWC 0#10
FUNC:SOUR:STEP 1:AC:FREQ:50#10
FUNC:SOUR:STEP 1:AC:ARC 0
FUNC:SOUR:STEP 1:AC:FTIM 0.1#10
FUNC:SOUR:STEP 1:AC:FTIM 0.1#10
MMEM:STOR:STAT 1, Test#10
MMEM:STOR:STAT 1, Test#10
MMEM:LOAD:STAT 2#10
FUNC:SOUR:STEP 1:IR:VOLT 500#10
FUNC:SOUR:STEP 1:IR:RTIM .1#10
FUNC:SOUR:STEP 1:IR:TTIM 1#10
FUNC:SOUR:STEP 1:IR:FTIM .1#10
FUNC:SOUR:STEP 1:IR:UPPC 0#10
FUNC:SOUR:STEP 1:IR:LOWC .1#10
FUNC:SOUR:STEP 1:IR:RANG 0#10
MMEM:STOR:STAT 2, IR1#10
MMEM:STOR:STAT 2, IR1#10
MMEM:LOAD:STAT 1#10
MMEM:LOAD:STAT 1#10
FUNC:STARt#10
FETCh?#10
FETCh?#10
AC,0.000,0.000#10AC,0.008,0.032#10
FUNC:STOP#10
MMEM:LOAD:STAT 2#10
FUNC:STARt#10
FETCh?#10
FETCh?#10
FETCh?#10
FETCh?#10
FETCh?#10
FETCh?#10
IR,0.431,0.000#10
FETCh?#10
,0.001,0.051#10IR,0.001,0.051#10IR,0.001,0.0
FETCh?#10
IR,0.498,0.051#10
FETCh?#10
IR,0.499,0.051#10
FETCh?#10
IR,0.499,42585.203#10
FUNC:STOP#10
FUNC:STOP#10
MMEM:LOAD:STAT 1#10
MMEM:LOAD:STAT 1#10
FUNC:STOP 和 FUNC:STARt 前后运行就会出现卡机的情况,仪表屏幕就会出现测到一半就终止的情况.
但我的漏电流测完调用的FUNC:STOP 和绝缘电阻调用FUNC:STARt 次序连在一起,中间的间隔时间不够
测试程序开始时,最后一项时 才调用 FUNC:STOP