找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 4565|回复: 2

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

[复制链接]
发表于 2008-5-20 22:35:40 | 显示全部楼层 |阅读模式
这是报的错,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.
发表于 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.
回复 顶

使用道具 举报

 楼主| 发表于 2008-5-22 18:14:21 | 显示全部楼层
嗯版主,我没说清楚,是这样的,我用agilent n1911a功率计,加了一个configure measurement 的节点就报错,而且我的连接方法跟官方example里的一样,我用官方的example运行,也都在这个节点报错。所以觉得很奇怪。。。。
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-30 06:24 , Processed in 0.027179 second(s), 7 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表