User Tools

Site Tools


kb:ni-rt:linuxrt:labview-config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kb:ni-rt:linuxrt:labview-config [2019/01/09 14:26]
joerg.hampel
kb:ni-rt:linuxrt:labview-config [2019/11/04 17:56]
joerg.hampel
Line 1: Line 1:
-====== ​06 LabVIEW Config ======+====== ​05 LabVIEW Config ======
  
 ===== Config Files ===== ===== Config Files =====
  
-"​Basically,​ LabVIEW RT Runtime-specific changes should go in the lvrt.ini file (including the logging settings you're referencing). System-wide changes should go in the ni-rt.ini file."+"//Basically, LabVIEW RT Runtime-specific changes should go in the ''​lvrt.conf'' file [..]. System-wide changes should go in the ''​ni-rt.ini''​ file. Note, however, the vast majority of tokens that are defined for this use-case are accessible through MAX or there'​s little reason to change them, so except for certain circumstances,​ you shouldn'​t be editing this file.//"
  
-https://​forums.ni.com/​t5/​NI-Linux-Real-Time-Discussions/​ni-rt-ini-vs-lvrt-conf/​td-p/3583313+([[https://​forums.ni.com/​t5/​NI-Linux-Real-Time-Discussions/​ni-rt-ini-vs-lvrt-conf/​m-p/3584163/​highlight/​true#​M2180|Source]])
  
 The ''​lvrt.conf''​ file is located at ''/​etc/​natinst/​share/​lvrt.conf''​. The ''​lvrt.conf''​ file is located at ''/​etc/​natinst/​share/​lvrt.conf''​.
 +
 +The ''​ni-rt-ini''​ file is located at ''/​etc/​natinst/​share/​ni-rt.ini''​.
 +
 +See below for examples of configuration files. ​
 +
 +---- 
  
 ===== Startup Application ===== ===== Startup Application =====
Line 29: Line 35:
     * http://​digital.ni.com/​public.nsf/​allkb/​6DC32025FF6DF0B586257204007F2C05?​OpenDocument     * http://​digital.ni.com/​public.nsf/​allkb/​6DC32025FF6DF0B586257204007F2C05?​OpenDocument
     * http://​digital.ni.com/​public.nsf/​allkb/​A4730B3F0ADA9C5186257961007478B1     * http://​digital.ni.com/​public.nsf/​allkb/​A4730B3F0ADA9C5186257961007478B1
 +
 +
 +---- 
 +
 +===== Example Files =====
 +
 +==== lvrt.conf ====
 +
 + [LVRT]
 + thpolicy_tcrit=fifo
 + thpri_tcrit=94
 + thpolicy_vhigh=rr
 + thpri_vhigh=6
 + thpolicy_high=rr
 + thpri_high=5
 + RTCPULoadMonitoringEnabled=True
 + RTMode=True
 + appFont="​paratype-pt sans" 12
 + dialogFont="​paratype-pt sans" 12
 + systemFont="​paratype-pt sans" 12
 + server.tcp.access=+*
 + RTTarget.ApplicationPath=/​home/​lvuser/​natinst/​bin/​startup.rtexe
 + RTTarget.VIPath=/​home/​lvuser/​natinst/​bin
 + RTTarget.EnableFileSharing=True
 + server.tcp.serviceName="​Main Application Instance/VI Server"​
 + xwmShellRect.Title=3x3+3+29
 + RTTarget.LaunchAppAtBoot=True
 +
 +==== ni-rt.ini ====
 +
 + [LVRT]
 + StartupDLLs=/​usr/​local/​natinst/​lib/​libsysstatepublisher.so;​
 + RTCPULoadMonitoringEnabled=True
 + ELVPingTimeout=5000
 + RTTarget.RTProtocolAllowed="​True"​
 + RTTarget.TimeZone=Etc/​GMT-1
 +
 + [RTLINUXMEMRESERVE]
 + Base=64
 +
 + [SUPPORTED LOCALES]
 + english=L1
 +
 + [SUPPORTEDWIRELESSSECURITYTYPES]
 + Open=True
 + WEP=True
 + WPA_PSK=True
 + WPA_EAP=True
 + WPA2_PSK=True
 + WPA2_EAP=True
 +
 + [SYSTEMSETTINGS]
 + Host_Name="​cRIO9030"​
 + PrimaryMAC="​00802Fxxxxxx"​
 + NoFPGAApp.enabled=False
 + ConsoleOut.enabled="​False"​
 + NoApp.enabled=False
 + SafeMode.enabled="​False"​
 + sshd.enabled="​True"​
 + ui.enabled="​True"​
 +
 + [USB0]
 + dhcpipaddr=172.22.11.2
 +
 + [ETH0]
 + dhcpipaddr=10.21.31.197
 + dhcpenabled=0
 + linklocalenabled=0
 + IP_Address=10.21.31.213
 + Subnet_Mask=255.255.255.0
 + Gateway=10.21.31.10
 + DNS_Address=10.21.31.21
 + Mode=TCPIP
 + MediaMode=Auto
 +
 + [ETH1]
 + dhcpipaddr=192.168.2.180
  
kb/ni-rt/linuxrt/labview-config.txt · Last modified: 2019/11/04 17:56 by joerg.hampel