LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we rename the startup.exe for LV-RT?

I've read all the faq's for building the startup.exe for RT embedded targets, however I need to ask, is there a way to use a name OTHER than startup.exe? One single generic name is not meaningful enough to describe what the code is actually doing, or what revision it is.

The application builder does not allow for anything other then startup.exe when target to an RT device, but I've noted in ni-rt.ini there is a line for RTTarget.ApplicationPath=c:\ni-rt\startup\startup.exe, and have tried to alter this entry, and rename the startup.exe manually, yet the application will not launch.

Does anyone know of a fix/workaound ?
0 Kudos
Message 1 of 3
(3,065 Views)
Renaming your startup exe should work fine. Try this:

1) Target your controller, then go to Tools>>RT Target Options. Go to the RT Target: Misc page. Here you can set the same of your startup app.
2) Now try building your app again in app builder. It should get the name you just entered in the options dialog.

Is that what you're looking for? And does that work correctly?
0 Kudos
Message 2 of 3
(3,064 Views)
Following up with Greg..yes I was able to change the target options-misc name, and use app builder to build an EXE other than startup, and the target did properly boot and run it. I compiled the same vi with 2 different names, and tried to switch between them by altering the RTTargetApplicationPath key in ni-rt.ini, and it would not run...so the next question is..is there something else that needs to be changed, or is this only something you can do with appbuilder? The targets I support are not co-located and are not on any network, and I can't go to them to generate a build with every rev...but being limited to a single name is troublesome.

-Jason
0 Kudos
Message 3 of 3
(3,064 Views)