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

Using and Defining Error Codes (RT Module)

LabVIEW 8.5 Real-Time Module Help
August 2007

NI Part Number:
370622E-01

»View Product Info

Use error handling to debug and manage errors in VIs. The LabVIEW error handler VIs return error codes when an error occurs in a VI. Error codes reveal the specific problem the VI encountered. When you configure an RT target, LabVIEW automatically copies the error code files used by the error handler VIs to the target.

You can use custom error codes with VIs that run on an RT target. Create error files using the Error Code File Editor dialog box. Select Tools»Advanced»Edit Error Codes to open the Error Code File Editor dialog box. If you use custom errors on an RT target, you must rename the files to use a *.err extension and then place the error files in the c:\ni-rt\system\user.lib\errors directory or the c:\ni-rt\system\errors directory on the target. Use an FTP client to transfer the error file to the RT target.


Resources


 

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