|
|
发表于 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»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»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. |
|