ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

User Group Resource Center

取消
显示结果 
搜索替代 
您的意思是: 

LabVIEW Error Handling Best Practices

Abstract:

Examine the challenges of implementing a full-featured error handling strategy in LabVIEW and the tools to meet some of the most common error handling needs. Discuss error classification and description; central versus specific error handling; and techniques for communicating, logging, and reporting errors.

Software Needs:

GXML library to be installed (found here). Download the gxml_140_installer.zip, extract all, and then run the installer executable.

Structured Error Handler Reference Library (found here). Download the ni_seh-2.0.6.9.vip, double-click the file, install the vip through VI Package Manager for 2011 (make sure that the GXML is installed first)

0 项奖励
1 条消息(共 6 条)
22,294 次查看

I think I found an issue in the presentation.  In slides 25 and 26, the original error is not being passed on since the error is being cleared before going to the merge error VI.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 项奖励
2 条消息(共 6 条)
11,154 次查看

In slides 24, 25, and 26, should the original error also have been wired in at the top of Merge Errors?  It seems like we'd want to prioritize upstream errors over shutdown errors.

0 项奖励
3 条消息(共 6 条)
11,155 次查看

Absolutely! Sorry about that everyone but these were some older slides. Use the new updated presentation if you are going to be giving this as the slide order has changed as well as other additions that make giving the presentation easier. If anyone has any questions, please let me know.

0 项奖励
4 条消息(共 6 条)
11,155 次查看

http://forums.ni.com/ni/attachments/ni/deployment/83/1/ni_lib_gxml-1.4.0.4.vip

Use this .vip file instead of the EXE installer for GXML otherwise you will run into issues with VIPM not finding the required dependancies.

0 项奖励
5 条消息(共 6 条)
11,155 次查看

Thanks Simon! I updated the link above to point to that vip.

0 项奖励
6 条消息(共 6 条)
11,155 次查看