LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application can't use mutiple custom error files?

I have problems getting custom error files to work in a stand-alone application.
 
For different components of my program, I have different custom error files:
  Micro4-errors.txt
  Isabel-errors.txt
  Triggering-errors.txt
 
Running in the Labview ADE everything works fine.  But in the .EXE i get undefined errors for some of the error conditions.   It seems that only one of custom error file is being used, and the rest is ignored...
 
Does that sound familiar to someone?
 
 
Running Labview 8.5 on Windows XP.
0 Kudos
Message 1 of 6
(2,925 Views)
Does this happen with the exe on the developement system or on the target?
If only one is "active", is it always the same, like e.g. the alphabetically first?

hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(2,918 Views)
Only happens with the exe on the target.  On the developement system, the exe runs fine.
The active error file is Micro4-errors.txt     The in-active one is Isabel-errors.txt
 
Micro4 has errors from 5000-5009. 
Isabel has errors from 5010-5019.
 
At the moment, it's a bit difficult to check for activity on the third file... 
0 Kudos
Message 3 of 6
(2,908 Views)
I asume that all three -error.txt-files are located in the same folder on the target. Correct? What is the folder?

Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 6
(2,898 Views)
Correct.  It's in the default  'data' subfolder directly below the exe.
0 Kudos
Message 5 of 6
(2,895 Views)

I know what wrong now. Seems that the files are at the wrong location.    According to http://digital.ni.com/public.nsf/allkb/6077DBEDA4F9FEE3862571F600449501  they should only be in either errors\ or user.lib\errors\.

Funny thing....   When I place them in errors\ it still doesn't work.   In the user.lib\errors\ directory, it does work.    So it seems that the documentation & application builder don't agree on that.   

 

0 Kudos
Message 6 of 6
(2,868 Views)