Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

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

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 8.2
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Run-Time Engine

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

Solution:
Each of the tables below contains a description of the tokens to 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.


  1. Listed below are the RT specific configuration tokens that you can include in the NI-RT.ini file.


  2. Token and default value Description
    LegacyTickTimerPeriod When 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.Enable Enable/Disable the cache. Default is TRUE. All of the rest of RTTarget.DiskCache.* are ignored if RTTarget.DiskCache.Enable is false.
    RTTarget.LaunchAppAtBoot Enables the startup application
    RTTarget.StartupVIs VI to launch on startup (similar to startup app, but just a VI)
    RTTarget.TimeZone Disable day light savings on the real time target.
    SendBufferSize Legacy 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
    SocketRecvBufferSize Defines 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
    SocketSendBufferSize Defines 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
    StdOutRedirectionFile Specifies 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.
    TraceEthernetDriverLoading When TRUE, prints out information about the Ethernet driver loading process to the target screen.



  3. Listed below are the LabVIEW configuration tokens that you can include in the LabVIEW.ini file.


  4. Token and default value Description
    ExecEngineSelectPrompt.NetworkName List of recently targeted IP/network names (prior to 6.1, this only stored a single PStr value)
    RTPauseAfterDLInfoDlg pauses the download progress dialog after download is complete so that user can inspect the verbose dialog (does not affect simple download dialog)
    TargetMemInfo is a useful LabVIEW.ini token. Operate >> 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.

Related Links:
KnowledgeBase 3HKA4CXT: How Do I Disable Daylight Saving Time on LabVIEW Real-Time Targets?

Attachments:


RT INI Tokens Customer.xls


Report Date: 10/11/2006
Last Updated: 03/10/2008
Document ID: 42AH5HE9

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit