Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/09/2022 in all areas

  1. Hi Sam, After the startup.rtexe is deployed into your cRIO, and reboot it, with the Run As Startup option selected from the LabVIEW Project Explorer, you can use these commands from the terminal: /etc/init.d/nilvrt stop ==> to stop the RT App. /etc/init.d/nilvrt start ==> to run the RT App. Hope this helps.
    1 point
  2. I found this DMC slide. I wasn't quite sure when to use Floating vs Modal, and this helped me a bunch. In my situation right now, I like and am going to use Hoovahh's code to set to modal through VI server. Graceful. I really do appreciate this code that you shared. https://www.ieee.li/pdf/viewgraphs/user_interfaces_in_labview.pdf
    1 point
  3. 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: Only 1 rtexe can be active at a time. If you simply kill lvrt (as opposed to triggering a proper shutdown from within your .rtexe), LabVIEW thinks that it crashed. By default, LabVIEW will enter Safe Mode after 2 crashes: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kFQ6SAM
    1 point
×
×
  • Create New...

Important Information

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