是德科技
直播中

徐小婷

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

VEE运行时错误

我们目前正在使用VEE程序来控制和监控HP 4339B高阻计。
我们正在收集大约一个小时的数据。
大约45分钟后,我们收到以下错误消息:当关闭时,显示此消息:我们对如何解决此问题感到困惑。
是我们的仪表还是VEE程序?
任何想法,建议解决方案都非常感谢。
提前致谢。
VEE_run_time_error.bmp3.8 MB

以上来自于谷歌翻译


     以下为原文

  We are currently using a VEE program to control and monitor a HP 4339B High Resistance Meter.  We are collecting data for approximately one hour.  After about 45 minutes we receive the following error message:Image
Which when closed yeilds this message:Image
We are stumped on how to troubleshoot this problem.  Is it our meter or VEE program?  Any ideas, advice solutions are greatly appreciated.  Thanks in advance.   
附件

回帖(1)

李麒

2019-3-20 11:18:48
我建议在IO Libraries Suite中使用IO Monitor来解决IO相关问题。转到Program> Agilent IO Libraries Suite> Utilities> IO Monitor。
在选项对话框中,选择监视和显示Agilent VISA消息。
然后运行VEE程序,所有与IO相关的跟踪都显示在IO Monitor中。
根据我的经验,可能有很多可能性:1。
发送查询SCPI,例如
* IDN?
,然后以某种方式另一个命令SCPI,例如
* RST是在另一个循环/对象中意外发送的。
然后,当尝试读取先前查询(* IDN?)的结果时,将出现超时错误。
2.仪器挂起或忙于其他不能中断的操作。
仪器连接丢失等。要进行故障排除,VISA跟踪中应该存在超时错误,通常为红色。
检查先前的SCPI序列是否正确。
或者在错误发生后,使用SYST:ERR询问仪器是否存在系统错误?
看看仪器是否提供了任何提示。
希望这会有所帮助,-mk

以上来自于谷歌翻译


     以下为原文

  I would recommend to use IO Monitor in IO Libraries Suite to troubleshoot IO related issue.
Go to Program > Agilent IO Libraries Suite > Utilities > IO Monitor. In options dialog, select to monitor and display Agilent VISA messages. Then run the VEE program, all IO related traces are shown in IO Monitor.

From my experience, there could be many possibilities:
1. Sent a query SCPI e.g. *IDN? , then somehow another command SCPI e.g. *RST were sent accidentally in another loop/object. Then when try to read the result for previous query (*IDN?) there will be timeout error.
2. The instrument is hang or busy with other operations which cannot be interrupted.
3. The instrument connection is lost.
etc.

To troubleshoot, there should be an timeout error in the VISA traces, which is usually in red color. Check the previous SCPI sequence is correct. Or after the error, ask the instrument for system error using SYST:ERR? see if the instrument gives any hints.

Hope this helps,
-mk
举报

更多回帖

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