03-20-2025 03:08 PM
Hi,
I have some confusion regarding the users on a Linux RT system. I have the admin account that I usually use when programming in Labview, but I am confused about the lvuser account. I have read that a Labview program runs under the lvuser account, but I can't log in as lvuser, so when I transfer files with WebDAV I must use the admin account. Is the admin account the only way to use the WebDAV vi's?
Also, if I am writing a program that will eventually be built into an rtexe, where is the recommended location for saving DAQ files and other files like config files?
Last question, is there a recommended way to restart an rtexe from a host executable? In Labview I can just start and restart the RT vi, but I want to be able to do that with a rtexe from a host executable.
Last Last question, can you have more than one rtexe in the home/lvuser/natinst/bin folder?
I know enough about Linux to be able to damage my system, but I want to know more so I can really break it.
03-21-2025 07:46 AM
Is the admin account the only way to use the WebDAV vi's?
Tldr: See Manage User Accounts on NI Linux Real-Time OS Devices
For more detailed information, visit the User Guide located here.
where is the recommended location for saving DAQ files and other files like config files?
c/ni-rt/ or /home/lvuser/natinst/bin/
The former is the path used by NI VeriStand
Last question, is there a recommended way to restart an rtexe from a host executable? In Labview, I can just start and restart the RT vi, but I want to be able to do that with a rtexe from a host executable.
An rtexe is deployed as a startup exe. What you need to do is to Reboot LabVIEW Real-Time Controller Programmatically
Last Last question, can you have more than one rtexe in the home/lvuser/natinst/bin folder?
I believe so. Deploying a LabVIEW Real-Time Startup Executable Without the LabVIEW Development Environment explains how the rtexe is being configured as startup.
03-21-2025 11:43 AM
Thanks! The user guide was exactly what I needed. I don't know how I missed that in my search.