renren0918 发表于 2008-5-20 22:35:40

关于labview程控仪器时出错。。。

这是报的错,Header suffix out of range,无法理解错误,就是一旦加上一个属性设置节点。。。。就报错。。。。不知道原因

Error -1074000000 occurred at Agilent N191X Series.lvlib:Error Query.vi

Possible reason(s):

Instrument reports:
-114,"Header suffix out of range;:TRIG2:SOUR?<END><Err>"
-420,"Query UNTERMINATED; <Err>"
+0,"No error"


PS:另一台仪器用数据跟踪看从初始化开始就报错,The given session or object reference is invalid,刚回家,想来想去,突然想会不会是gpib口没联好。。。。。不知道有米有人有经验。。。


Error -1073807346 occurred at VISA Open in Agilent ESA PSA Series.lvlib:Initialize.vi->Agilent ESA PSA Noise Figure Measurement (ENR Table).vi

Possible reason(s):

VISA:(Hex 0xBFFF000E) The given session or object reference is invalid.

lgh269 发表于 2008-5-21 23:12:51

你加的是什么属性节点呢,

NI提到的
LabVIEW provides you a configurable option to close VISA sessions. The Automatically close VISA sessions option allows open VISA sessions to close automatically when the top-level VI goes idle. This option helps you avoid potential problems the next time you run the VI. As a result, when you try to access that VISA session using a global variable, you can get an invalid VISA session error if you have the option enabled.

In LabVIEW 6.x and later, the Automatically close VISA sessions option is disabled by default. If you receive this error, check if you have this option enabled in LabVIEW. To disable the feature and eliminate the error message, you can follow the instructions below pertaining to your version of LabVIEW:


In LabVIEW 6.x and 7.x, select Tools&raquo;Options to display the Options dialog box and select Miscellaneous from the Category list page. To disable the option, remove the checkmark from the Automatically close VISA sessions checkbox and click the OK button.


In LabVIEW 8.x, select Tools&raquo;Options to display the Options dialog box and select Environment from the Category list page. To disable the option, remove the checkmark from the Automatically close VISA sessions checkbox and click the OK button.

renren0918 发表于 2008-5-22 18:14:21

嗯版主,我没说清楚,是这样的,我用agilent n1911a功率计,加了一个configure measurement 的节点就报错,而且我的连接方法跟官方example里的一样,我用官方的example运行,也都在这个节点报错。所以觉得很奇怪。。。。
页: [1]
查看完整版本: 关于labview程控仪器时出错。。。