Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

VI auf cRIO automatisch starten. (Ohne PC)

Hallo,

ich möchte den cRIO-9012 (mit FPGA) eigenständig ohne PC betreiben. Zur Zeit muss ich das VI auf dem cRIO noch vom PC aus mit LabView "ausführen".
Wie ist es möglich, dass der cRIO automatisch nach dem Einschalten, bzw nach einem Reset das geladene VI ausführt?

Auf dem cRIO ist der Dipschalter "NO APP" auf off.
Ich habe noch keine Option gefunden die das VI automatisch starten läßt.

Zur Info: Der cRIO wird später ohne PC arbeiten und seine Daten über ein Modul weitergeben.
Durch einen Reset soll er natürlich automatisch neustarten.

Weder in der Hilfe noch in der KB habe ich darüber etwas finden können.

Gruß
Torsten
0 Kudos
Message 1 of 2
(4,086 Views)
Hello Torsten,

please look at the Labview RT Modul Help.
It depends on the LV version.
For example in the 8.2 version you set it in the project explorer.

You can create a stand-alone real-time application using the LabVIEW Application Builder and set the application to run when you power on an RT target. You can create multiple build specifications that configure the settings of stand-alone real-time applications under an RT target. However, you can set only one stand-alone real-time application as startup for an RT target.

Complete the following steps to set a stand-alone real-time application as the startup application for an RT target.

  1. Open the project in which you created the stand-alone real-time application.
  2. Expand Build Specifications under the RT target in the Project Explorer window.
  3. Right-click the build specification under Build Specifications and select Set as Startup from the shortcut menu. LabVIEW displays a green border around the icon for the build specification in the Project Explorer window. If a previous build specification was set to startup, LabVIEW removes the green border from the previous build specification in the Project Explorer window and unsets the specification as startup.
  4. Right-click the build specification and select Build from the shortcut menu to build the stand-alone real-time application.
  5. Right-click the build specification and select Deploy from the shortcut menu to deploy the settings to the RT target.
  6. Reboot the RT target to run the stand-alone real-time application.
Kind regards,

Elmar
Message 2 of 2
(4,061 Views)