Jump to content

LabVIEW configuration file: Difference between revisions

From LabVIEW Wiki
Crelf (talk | contribs)
Crelf (talk | contribs)
Line 28: Line 28:
# [[LabVIEW_ini_File.Web_Server|Web Server]]
# [[LabVIEW_ini_File.Web_Server|Web Server]]
# [[LabVIEW_ini_File.Unknown|Unknown]] - do you recognise any of these?
# [[LabVIEW_ini_File.Unknown|Unknown]] - do you recognise any of these?
# [[LabVIEW_ini_File.Easter_Eggs|Easter Eggs]] - reveal hidden messages (no functional advantage, but a bit-o-fun)


* Add your own ini setting descriptions using these [[LabVIEW_ini_File.Key_Templates|wiki templates]]
* Add your own ini setting descriptions using these [[LabVIEW_ini_File.Key_Templates|wiki templates]]

Revision as of 22:09, 7 May 2007

This article contains information related to the LabVIEW configuration file. This file is used by LabVIEW to store configuration information related to the LabVIEW development environment. If you are interested in finding out how to read and write your own configuration file then see the article on the configuration file VIs.

Editing the .\labview.ini File - A Disclaimer

The options that aren't in the preferences dialog are generally considered to be not useful or even harmful. They are sometimes there to allow National Instruments a backdoor or a workaround for when the LabVIEW development team changes a behavior. They are also used to turn on obscure development features that the developers use to make or debug LabVIEW. These obscure features are typically kind of like the attic or basement of a house, not finished out, not very interesting, and potentially harmful.
The LabVIEW developers have never tried to hide any of these strings, but it is unlikely that you will gain any benefit from trying out various combinations of the settings. If you ask technical support what a setting is, they will likely tell you that they have no idea. They are telling you the truth.
Even some of the folks in NI R&D may not know what some of the settings do without checking the code. Others, such as exoticcontrols, no longer do anything. It was once used to show a control palette submenu that contained controls that were still in work and not ready for prime-time. They were experiments, unsupported features, and guaranteed to crash if you did much with them. Just the sort of thing that is needed for development, but not useful to even advanced LabVIEW users unless they have a death-wish.
If you experiment with the .ini file and you crash mysteriously losing hours of work, I'd suggest putting the file back to the way LabVIEW left it. Don't ask tech support to fix it or complain that the LabVIEW attic has rusty nails and splinters.
Resedit is a low level tool that in the right hands is useful, in the wrong hands, well, its in the wrong hands. For the person that likes taking a multimeter and a soldering iron to computers and household appliances, its exactly what you always wanted. If you start monkeying with things in the resources or the .ini file, use common sense and do it on a copy or you will just end up reinstalling LabVIEW.
Once the fun and experimentation is over with, I think you will agree that the useful options, with very few exceptions are in the Preferences dialog.

Settings Descriptions

This is a relatively comprehensive list of the settings that can be included in a .\labview.ini file (or a compiled executable's ini file). Whilst some of these settings appera in the files by default, others may only appear when the features used require them to be there, whilst others still can only be added manually to provide access to backdoor settings and operations.

LabVIEW ini Settings are organised into the following categories (in alphabetical order):

  1. Block Diagram
  2. Colors
  3. Debugging
  4. Execution System
  5. Fonts
  6. Front Panel
  7. History
  8. Miscellaneous
  9. Paths
  10. Performance
  11. Printing
  12. Time and Date
  13. VI Server
  14. Web Server
  15. Unknown - do you recognise any of these?
  16. Easter Eggs - reveal hidden messages (no functional advantage, but a bit-o-fun)

See Also

Custom LabVIEW configuration file

External Links