Undocument Ini

 

The following information was gleaned from the Info-LabVIEW mailing list, experimentation, and from emails from other wireworkers. If you know any others, or find any errors here, please enlighten me. Also check out the unknown settings.

The ones that I think are really useful are colored like this.

Most of these settings have been confirmed to work on LabVIEW 5.1.1 running under Windows 2000. A few unconfirmed settings are noted. If someone can confirm the functionality of these on any platform, or disprove the functionality on other platforms, please let me know.

There are also a few other undocumented settings that I logically grouped with the Colors, VI Server and Web Server settings.

SettingDescriptionTypeDefault
Value
checkActiveXLibsUnconfirmed. Set to True to enable more detailed checking of the ActiveX interface when LabVIEW starts up. An error message will appear if LabVIEW encounters an error.TFFalse
copyDeleteFPDCOFromFPTermSetting this value True enables you to delete controls and indicators directly from the diagram by deleting the terminal.

In LV6 and above, this option is "Delete front panel terminals from diagram" in the Block Diagram section of the Options dialog.

TFFalse
ctlEditNoQuestionsSetting this value True prevents the "Replace the original control…" dialog from appearing and ALWAYS does the replacement.TFFalse
debuggingIf set to True, LabVIEW reports all kinds of runtime checks to the file <lvdir>\dprintf.txt in the LabVIEW directory and if a debugger application is attached to LabVIEW it is also reported to that debuggers output stream or if no debugger is attached it is reported to the System debugger (Dr. Watson).TFFalse
defaultCtrlPalPosSpecifies where the Controls palette will be placed when LV starts up.rect 
defaultFuncPalPosSpecifies where the Functions palette will be placed when LV starts up.rect 
defPrecisionDefault precision for controls and indicators {Extended, Double, Single}stringDouble
dialogEditorSet to True to add "Load Dialog Script..." and "Save Dialog Script..." to the File menu. You can use these functions to modify LV's built-in dialogs.TFFalse
ditheringUnconfirmed. PC and Mac. Specifies if dithering should be used when displaying higher color items on low color devices.TF 
editRTMenusFromRsrcSet this to True to add "Open From Rsrc..." and "Save To Rsrc..." to the File menu of the Menu Editor. You can then open LV's built-in menus in the *.rsc files. The warnings for the Dialog Editor also apply here.TFFalse
EnableAutoScalesYou can change the range of a graph's axis scale during run-time. In LabVIEW 6.0 and above, if the number of digits required to show the values increases, the plot area size is reduced to show the entire scale label. To prevent this automatic resizing of your plots, set this value to False.

For more information, read this article and this article in the NI KnowledgeBase.

TFTrue
enableGroupLockThis setting enables the grouping and locking of front panel objects. These menu items will appear on the standard Reorder menu (where Move to Front/Back is located).
Grouped objects maintain their relative arrangement and can be moved together, while locked objects maintain their location on the front panel, and can not be deleted.
I found that this causes LV 5.1 to crash on occasion, but this has become a working, standard feature in LV 6.
TFLV5:False
LV6:True
enableMultiScalesThis setting enables multiple scales on waveform and XY graphs. Using multiple scales on a graph allows you to display multiple plots that do not share a common x- or y-scale.
I found that this is buggy in LV 5.1, but has become a working, standard feature in LV 6.
TFLV5:False
LV6:True
ESys.StdNParallelThis setting defines the number of threads to start in each execution system and priority level.
dot.gif0 is equivalent to turning off the Preferences menu item "Run with multiple threads".
dot.gif1 is the default value, equivalent to turning on "Run with multiple threads".
dot.gif2 to 8 defines a higher number of threads to start (i.e. a 5x5 matrix).
dot.gif-1 tells LabVIEW to start with a custom set of threading parameters as defined by ESys.xxx.yyyy keys.
ESys.Bgrnd
ESys.High
ESys.TCritical
ESys.Vhigh
ESys.DAQ.Bgrnd
ESys.DAQ.High
ESys.DAQ.Normal
ESys.DAQ.TCritical
ESys.DAQ.VHigh
ESys.instrument.Bgrnd
ESys.instrument.High
ESys.instrument.Normal
ESys.instrument.TCritical
ESys.instrument.VHigh
ESys.other1.Bgrnd
ESys.other1.High
ESys.other1.Normal
ESys.other1.TCritical
ESys.other1.VHigh
ESys.other2.Bgrnd
ESys.other2.High
ESys.other2.Normal
ESys.other2.TCritical
ESys.other2.VHigh
See description above. These settings are only enabled when ESys.StdNParallel.is set to -1.

ESys.xxx.yyy

xxx is a subsystem abbreviation (such as other1)

yyy is a priority (such as Normal or Vhigh)

These are the number of threads to create for the thread pools. LabVIEW does not change the priority of threads at run time.

LabVIEW 5.0 does not create any new threads after startup (except for some Win32 dialog boxes which create their own threads).

LabVIEW 5.1 will create threads for a subsystem if it loads a VI that is assigned to that subsystem.

Each subsystem has several "buckets" of threads for relative priorities. Each of these INI entries tells LabVIEW how many threads to start for the buckets.

forceBWSet this value True to tell the Icon Editor to create a default black&white icon if you don't create one.TFFalse
formulaBoxPrecisionPrecision for formula boxes {Extended, Double, Single}
Be careful. This is not only the default precision for new formula boxes, but this value will change the precision of existing formula boxes.
stringDouble
hideRootWindowSet this value to True to hide the "LabVIEW" taskbar button. This extra tab represents the initial LabVIEW window that appears when you first run LabVIEW (the window with tips and the buttons for New VI, Open VI, Search Examples, etc.)
For more information, read this article in the NI KnowledgeBase.
TFFalse
ignoreHelpAndProjDirsSet to True to ignore Help and Project directories - only built-in functions will remain on menus.TFFalse
independentImageDepthThere's an article in the NI KnowledgeBase that partly explains this setting.numeric 
keepIntensityBitmapUnconfirmed. Set this value to True to make the intensity graph hold on to its calculated bitmap after redrawing. This speeds up redrawing for the intensity graph when it needs to update without any data change (e.g. moved window uncovered part of the intensity graph).TFFalse
lazyUpdateClipboardI could not confirm the following on my system when I tested it with the clipbrd.exe utility, but here's some info I received on this entry.
Indicates that LabVIEW does not really update the external clipboard whenever the user does a copy or cut operation but rather only updates its internal clipboard. When a user does paste in another application and that application uses the standard OS clipboard functions, the OS informs LabVIEW through an event that the clipboard contents needs to be updated and LabVIEW then does convert its internal data to the OS dependant standard data as required. This could be a problem if an external application uses low level/undocumented functions to access the clipboard contents.
TFTrue?
LVdebugKeysEnables some special LabVIEW key combinations (Ctrl + Shift + [H, W]) to open up special monitor screens to view different internal settings in LabVIEW. Information displayed is probably not very useful to someone not familiar with developing LabVIEW itself. The monitors even allow modifications of some internal LabVIEW states which will definitely crash your system if you don't know exactly what you are doing.TFFalse
massCompCacheUnconfirmed. Indicates the number of independent hierarchies to keep in memory during a mass compile operation. This speeds up the loading of progressive VIs because most of the common sub-VIs are already in memory.numeric 
massCompLogSet to True to write a log to <lvdir>\masscomp.txt when mass compiling.TFFalse
memoryCheckingWhen set to True, LabVIEW internally does extra checks to its memory management consistency whenever memory is allocated and deallocated and probably resized. This of course slows down LabVIEW tremendously and therefore is only useful to the LabVIEW developers as a user can not do much about eventual error asserts anyhow.TFFalse
moreColorsUnconfirmed. If set to False seems to limit the number of colors to 16.
On the Sun platform, this is an option on the Preferences dialog, so this setting is also mentioned in the Colors section.
TFTrue
mutateToPeriodDecimalPointWhen upgrading a VI from earlier versions and this setting is enabled, LabVIEW will insert "%.;" at the beginning of all format strings for all string functions which accept a format specifier input.
dot.gif0 means do not modify. (Default value)
dot.gif1 means modify.
dot.gif2 means LabVIEW should creates a text file where it writes about any modification it does.

(I could not confirm value 2. If someone can make it work and provide a path/filename it would be most appreciated.)

nodeBreakPointMenuItemSet to True to add "Set Breakpoint" menu item to node pop-up menus. This is not the same as the red execution breakpoint. When selected, it appears to trigger a hard debugger break within LV. Probably only useful for the LV development team.TFFalse
RecentFiles.maxNumMaximum number of Recently Opened Files to list in the File menu.numeric10
RecentFiles.showFullPathSet to True to show full paths of Recently Opened Files in menu.
The default is False, but LV will automatically show full paths if two or more recent files have the same name with different paths.
TFAuto
RegisterExtensionsSet to False to prevent LabVIEW from re-registering the .VI, .VIT, .CTL, and .LLB extensions to itself upon load.
The default is True for the development environment and False for a built executable.
TFAuto
saveAsVHDLMenuItemSetting this to True adds "Save As VHDL..." to the File menu.
This writes a wannabee VHDL description of the current VI to a file. This is not working correctly yet but indicates that NI is trying to create a LabVIEW version which will eventually create VHDL files to be compiled by an external VHDL compiler and be downloaded to an ASIC (Application Specific IC).
TFFalse
saveFloaterLocationsSet to False to prevent saving screen locations of open palettes on exit. Note any existing menu.n settings will not be removed so you can have LV always open the same palettes on launch, even if they were closed upon last exit.TFTrue
scrollGraphCursorsSetting this value False prevents a graph from scrolling when you drag a cursor beyond the bounds of the graph.TFTrue
scrollingStripChartsSetting this value to True appears to speed up the redrawing of a scrolling strip chart by scrolling the existing bitmap and drawing only the new part rather than redrawing it completely.TFFalse
serialDevicesThe information below applies to Windows only.

In the default state, LabVIEW can address up to 10 serial ports and 4 parallel ports using the serial VIs. The default entry is:
serialDevices="COM1; COM2; COM3; COM4; COM5; COM6; COM7; COM8; COM9; \\.\COM10; LPT1; LPT2; LPT3; LPT4"

To address additional serial ports, such as when an expansion card is added, you must add an entry to tell LabVIEW how to address the additional ports. For example, to set it to support up to COM16, you would add the following line to labview.ini:
serialDevices="COM1; COM2; COM3; COM4; COM5; COM6; COM7; COM8; COM9; \\.\COM10; \\.\COM11; \\.\COM12; \\.\COM13; \\.\COM14; \\.\COM15; \\.\COM16; LPT1; LPT2;"

The above should appear as a single line in your configuration file. Names of COM ports greater than COM9 should begin with "\\.\"

For more information, and for info on other platforms, read this article in the NI KnowledgeBase.

showInplaceMenuItemSet to True to add "Show Inplace Set" to the popup menu you get when you right-click on a diagram terminal. Selecting this menu item makes the terminal, and all other terminals sharing the same data inplace, blink together. Pop up again and select "Hide Inplace Set" before moving to another set of terminals, since it won't automatically stop blinking the first set before showing a new one.TFFalse
silentDatalogConvertSet to True to suppress dialog when opening an older format datalog file.TFFalse
simplePopupsSet to True and the menubar menus will mimic built-executable menus.TFFalse
smoothGraphMarkersWhen set to true, the cursors that have Allow Drag turned off will draw into the offscreen buffer with the plots, rather than over the plots. This is also dependent on having smooth updates turned on either in the preferences or on that particular graph. This won't do anything unless you have at least LV5.1.TFFalse
sparcV8Unconfirmed. Sun platform only. Set this option to only use sparcV8 code.TF 
syncVisaIn LabVIEW, any calls to VISARead or VISAWrite are converted to the VISA Driver calls viReadAsync and viWriteAsync. This allows the VISA driver to work on the request without blocking LV from executing. However, under some GPIB controllers, there is no interrupt mechanism from the low level GPIB driver to tell LV when the read or write is complete. This means that to implement the Async call, LV must spawn a thread and have it poll the low level GPIB driver. Currently, the polling time is 500ms. This is why you see such slow transfers under LV with some adapter cards.
Setting this option to True makes LV use the viRead and viWrite VISA calls. This means LV will block during VISA calls, but your GPIB throughput will be much faster.

Note this option is no longer present in LV versions 6.0.2 and above. In these versions, you must pop up on each VISA read/write function and select "Do I/O Synchronously".

 False
tileUpDownSet to True to assign ctrl-T hotkey to Tile Up and Down.TFFalse
useDefaultTimerSet to False to increase LabVIEW's timer functions to 1ms resolution.TFvaries
useNativeColorPickerUnconfirmed. Mac only. Use the Mac color selection dialog instead of the LabVIEW one.TFFalse
useNewPrintHeaderSet to False to use the old style print header when printing out VI documentation. The old style did not show the "Printed on <today's date>" line.TFTrue
useTaskBarPC only? Set to False so that VI windows will not be shown individually on the Task Bar.TFTrue
useWindowMenuBarsSet to False to turn off menubars on all VI windows.TFTrue

转载于:https://www.cnblogs.com/Qia_sky/archive/2005/12/14/297205.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值