LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux RT Users Confusion

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.

0 Kudos
Message 1 of 3
(155 Views)

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.

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 3
(114 Views)

Thanks! The user guide was exactly what I needed.  I don't know how I missed that in my search.

0 Kudos
Message 3 of 3
(102 Views)