LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the default path for the user defined error files in LabVIEW

I would like to share user defined errors over diffrent platforms (LabVIEW for Windows & Linux).
In LabVIEW for Windows, I can change the default path to the user definded errors by entering:
UserDefinedErrorsDir=Q:\LabVIEW\SW\Libaries\
into the LabVIEW.ini file.
Then I only have to copy or edit all my ...-error.txt files in the directory:
Q:\LabVIEW\SW\Libaries\errors\
I know, that for LabVIEW for Linux I have to edit the .labviewrc file.
But what do I have to enter?
UserDefinedErrorsDir : wsw/LabVIEW/SW/Libaries/
(You know our Windows Q: directory is in Linux the wsw path)
Do I need an absolut path, a relative path or whatever?
0 Kudos
Message 1 of 4
(2,976 Views)
You have to write into the .labviewrc file the following line:
labview.UserDefinedErrorsDir: ""

'' ist the absolute path where your errors-directory is saved (eg '' is '/wsw/LabVIEW/SW/Libaries/').
Message 2 of 4
(2,976 Views)
Hello,
 
is "UserDefinedErrorsDir" is a feature of LV 6.0 only?  I'm on 7.1 and this is not working at all.
 
I tried UserDefinedErrorsDir=C:\
UserDefinedErrorsDir="C:\"
UserDefinedErrorsDir=C:
UserDefinedErrorsDir="C:"
 
and nothing works.  Of course I put my own "*-errors.txt" file in c:\
 
any idea?
 
thanks
 
Éric
 
0 Kudos
Message 3 of 4
(2,866 Views)
Hello Eric

I am using the "UserDefinedErrorsDir" in LabVIEW 7.1 /7.1.1 Windows and Linux.

But there is a "syntax" problem. Let me explain this:

If you enter

UserDefinedErrorsDir=C:\

into your LabVIEW.ini File, LabVIEW will not search the Files in your C:\      Directory...

LabVIEW search the *-errors.txt Files in the

C:\errors\


Directory!

That mean that you have to create a folder with the name errors in your
UserDefinedErrorsDir and after that you only have to copy all your *-errors.txt Files into this folder.

Happy Wiring

Martin CLAD
0 Kudos
Message 4 of 4
(2,834 Views)