User Tools

Site Tools


Sidebar

Imprint

kb:ni-rt:linuxrt:labview-config

05 LabVIEW Config

Config Files

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.

(Source)

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

Add the RTTarget.StartupVIs token under the [lvrt] section of the lvrt.conf file. If it has not been previously set, the token may not appear in the configuration file.

  RTTarget.LaunchAppAtBoot=True

These other tokens may or may not be necessary:

  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

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