Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Distributing Custom Error Codes in Text Files

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

If a VI that you want to distribute as part of a stand-alone application or shared library uses custom error codes in XML-based text files, you must distribute those files with the application or shared library so the error handling VIs can use them.

If you want to include custom error codes, add the error code files to the Dynamic VIs and Support Files listbox on the Source Files page of the Application Properties dialog box or the Source Files page of the Shared Library Properties dialog box.

You also can include LabVIEW error codes. From the Advanced page of the Application Properties dialog box, place a checkmark in the Copy error code files checkbox to include LabVIEW error code files in the application. From the Advanced page of the Shared Library Properties dialog box, place a checkmark in the Copy error code files checkbox to include LabVIEW error code files in the shared library.

If you use the Application Builder to create an installer, you can place a checkmark in the Install custom error code files? checkbox on the Advanced page of the Installer Properties dialog box to include LabVIEW error code files. The installer build includes all error code files from labview\project\errors and labview\user.lib\errors and installs them in the Shared\LabVIEW Run-Time\8.2\errors directory.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit