PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

pxi: embedded application doesn't launch at start up

I selected the "Launch application at boot-up" in the "Network options/RT Target:Miscellaneous" menu before creating my application but it still doesn' launch before I open the application on a local machine (the application in the PXI seems to "wake up" then). I checked that the embedded Labview RT is launching at the PXI boot-up, and the startup.exe has been updated correctly (I checked it with a ftp client).

Any idea for this problem?
0 Kudos
Message 1 of 4
(3,295 Views)
One thing that we found helped when we had this problem is to check the NI-RT.INI file in the RT target's root directory. It should contain the line:
RTTarget.LaunchAppAtBoot=True

It seems that some installations of RT do not put this line in automatically and, in our case, just adding this line got the application up and running.

If it does not then add that line. Also check the line that should say:
RTTarget.ApplicationPath=c:\ni-rt\startup\startup.exe

BTW, you can control whether or not the RT runs your application on boot up by changing the LaunchAppAtBoot line to be False.

Just use an FTP program to get the NI-RT.INI file and then edit it and send it back to the PXI.

     Rob
0 Kudos
Message 2 of 4
(3,293 Views)

thank you for your answer.

The NI-RT.INI command line was correct. The solution was to destroy the startup.exe before creating a new one. Easy when you know how...

Sam

0 Kudos
Message 3 of 4
(3,287 Views)
Ah yes. Using the little trick of renaming the STARTUP.EXE then deleting it. There are a few files on a PXI that you have to rename in order to delete them.

     Rob
0 Kudos
Message 4 of 4
(3,279 Views)