FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

creating custom error codes

Hi everybody,
    referring to this article, in LV you can define custom error codes to use with more applications or application distributions. 

   Now, I wonder about where custom error codes are saved on FieldPoint modules, i.e.: does an error codes file is created and stored in the controller cFP? I know there're some error files on cFP controller, that are loaded at configuration time.

   I'd like to know exactly what it happens before trying, because I'd like to know if the error code file is then stored on each new cFP controller I program, or if I have to do it manually.  Usually, I develop on one or two test cFP-2120, and then application has to be deployed on many controller...

    Thanks everybody!

graziano
Message 1 of 4
(7,197 Views)
Hi,
searching the LabView help I found that you can use custom error codes with VIs that run 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. <SCRIPT type=text/javascript> if (typeof(Print_Link)=="function") { Print_Link(); } </SCRIPT>
 
Hope this helps
 
Clara
0 Kudos
Message 2 of 4
(7,172 Views)

refer to:

Using and Defining Error Codes (RT Module)

in labview help

0 Kudos
Message 3 of 4
(7,171 Views)
Thanks Carla,
   I'll test it tomorrow.  Unfortunately, we are in the middle of a move to new offices, so in new office I don't have working internet connection yet.... I'm back in the old office to read posts Smiley Happy

   In LV Help, I didn't found the page you addressed, I have LV 7.1 + RT...

   Anyway the infos you provided should be enough, I'm already doing some basic error handling with cFP controllers.

   Have a nice evening!

graziano
0 Kudos
Message 4 of 4
(7,161 Views)