Jump to content

Executing .rtexe from CLI... is it possible?


Recommended Posts

Hi guys,

 

A newbie question - say, I have a compactRIO running Linux Real-Time system and it runs my .rtexe set as startup

at the boot. I wonder if there is a way to execute this .rtexe arbitrarily from CLI or by any other means, so you can

actually have a few .rtexe on the system and pick and choose which ones to run at will?

 

 

Link to post

The .rtexe is actually not an executable file. Rather, it is a "bundle" that contains your compiled VIs.

The real executable is /usr/local/natinst/labview/lvrt -- This executable loads your .rtexe bundle and runs the top-level VI(s) from the bundle. The lvrt program checks a config file -- /etc/natinst/share/lvrt.conf -- to find out which .rtexe it should load.

So, in theory, you could edit this file and then shut down the VIs that are currently running. This causes lvrt to re-launch, and it will read your updated config file and load your new .rtexe.

Notes:

  • Like 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.