LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Ron_@_Fluor-Bettis

Add LabVIEW Feature To Prevent Automatic Edits to lvrt.conf Startup App Setting when Connecting to LabVIEW RT Target in Project VIew

Status: New

When connecting to an RT target from the LabVIEW Project view, LabVIEW RT automatically makes changes to the lvrt.conf file's startup app settings. I’ve never really understood why it needs to do that. I suppose that for some users, maybe less experienced users, this action enforces some sort of consistency that may help to avert potential tech support issues in some scenarios. However, in my case, it is an annoyance that I have to manage.

In my opinion, the LabVIEW Project view should not alter the startup app settings in the lvrt.conf file unless you use the Deploy feature from the menu. (For PharLap-based controllers, it would affect the ni-rt-.ini file).  If you use the Deploy feature, then that behavior may likely make sense.

NI should consider either eliminating the automatic edit to lvrt.conf when connecting to an RT target from the Project view and/or editing lvrt.conf only if using the Deploy feature is used.  If for some reason NI feels that the behavior is justified for some technical reason (and I would be curious to know what that reason is), what I would like to see in lieu of that is a LabVIEW option (checkbox setting) that gives the user the ability to prevent that automatic edit.

 

Currently, the specific changes that connecting to an RT target makes to the lvrt.conf file are:

  1. It changes the name of the startup app back to the default name of startup.rtexe.
  2. It changes the value of the key RTTarget.LaunchAppAtBoot to FALSE.

Deploying a library to an RT target should also not alter the startup app settings.