What LabVIEW Real-Time Related Settings Can be Changed Using INI Tokens?

Updated Dec 21, 2022

Reported In

Operating System

  • NI Linux Real-Time
  • PharLap

Issue Details

I was informed that I could add a token to modify LabVIEW Real-Time (RT) related settings in the NI-RT.ini file. Where can I find a table with all the possible tokens that I might be able to add to my NI-RT.ini file without affecting my installation?

Solution

Each of the tables below contains a description of the tokens that may be modified in the LabVIEW.ini file and NI-RT.ini files. You can add specific tokens based on your requirement. For detailed information on these tokens refer to the attached Excel file in this document. The Excel document additionally explains the value to be set, default values, the INI file to edit, the applicable version and the OS for each of these tokens.
Note: Direct modification of the ni-rt.ini configuration file is highly discouraged. Modification of this file in wrong syntax may result in incorrect system behavior.

 
  1. Listed below are the RT specific configuration tokens that you can include in the NI-RT.ini file. 
     
    Token and Default ValueDescription
    LegacyTickTimerPeriodWhen TRUE, use a fixed tick timer period of 1.0007 ms; otherwise dynamically adjust the tick timer period to give an average period of 1 ms
    RTTarget.DiskCache.EnableEnable/Disable the cache. Default is TRUE. All of the rest of RTTarget.DiskCache.* are ignored if RTTarget.DiskCache.Enable is false.
    RTTarget.LaunchAppAtBootEnables the startup application
    RTTarget.StartupVIsVI to launch on startup (similar to startup app, but just a VI)
    RTTarget.TimeZoneDisable day light savings on the RT target.
    SendBufferSizeLegacy token for LabVIEW RT 7.1.1, replaced by SocketSendBufferSize for 8.0 and higher. Still understood by 8.0 and higher. SocketSendBufferSize overrides the value of this token. Max value is 65535
    SocketRecvBufferSizeDefines the size of the LabVIEW layer socket receive buffer. 4096 is the default value but we override it to 65535 on targets that have more RAM like PXI, CVS and the desktop
    SocketSendBufferSizeDefines the size of the LabVIEW layer socket send buffer. 4096 is the default value but we override it to 65535 on targets that have more RAM like PXI, CVS and the desktop
    StdOutRedirectionFileSpecifies the path to a file to which screen output (specifically anything printed to stdout) will be logged instead of being displayed on the screen. If the token is not present, the output will be printed to the screen as usual.
    TraceEthernetDriverLoadingWhen TRUE, prints out information about the Ethernet driver loading process to the target screen.

     
  2. Listed below are the LabVIEW configuration tokens that you can include in the LabVIEW.ini file. 
     
    Token and Default ValueDescription
    ExecEngineSelectPrompt.NetworkName  List of recently targeted IP/network names (prior to 6.1, this only stored a single PStr value)
    RTPauseAfterDLInfoDlgPauses the download progress dialog after download is complete so that user can inspect the verbose dialog (does not affect simple download dialog)
    TargetMemInfoOperate >> RT Engine Info brings up memory usage dialog.
Note: The LabVIEW.ini file is found in the ~ProgramFiles\National Instruments\LabVIEW (Version)\. The NI-RT.ini file is found by using ftp. ftp://TargetIPAddress.