LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

After compiling the RIO code to the RIO, will it autrun at poweron?

I've written and compiled my RIO code, and it seems to be working correctly on the PXI-7833R.  Now do I need to do anything else to have it autorun at poweron?  Or will it already do that?  My HW is not all here yet, so I can't test it completely.  Thanks for your help.
 
Billy
0 Kudos
Message 1 of 7
(3,192 Views)
Hi Billy,

Once you receive your hardware, you can configure the FPGA target to Autoload on Startup or reboot: this setting can be reached by: right click on the FPGA target>>Rio Device Setup>>Device Settings Tab

Good luck
Van L
NI Applications Engineer
0 Kudos
Message 2 of 7
(3,169 Views)
Hi Billy,

One more thing you will have to do have your FPGA VI auto-run on power-up, is to open the FPGA Target properties page (in the LV Project) and make sure the "Run when loaded to FPGA" setting is enabled (I think in some versions of LV it used to be called something else, but not sure about it). If it is not, then enable it and recompile the FPGA VI.

JMota


Message Edited by JMota on 07-17-2008 05:46 PM
0 Kudos
Message 3 of 7
(3,154 Views)
JMota is right, thanks for filling in

Good luck
Van L
NI Applications Engineer
0 Kudos
Message 4 of 7
(3,138 Views)

A related question:

CRIO RT/FPGA - Is it possible to load RT and FPGA code in such a way that cRIO power-on auto-launches the RT code which will automatically launch the FPGA code?

0 Kudos
Message 5 of 7
(3,003 Views)
Yes.  You can create a startup application for the cRIO (create a build specification for your application, then right click on it and choose "Set as startup" before deploying it).  Within that application, open a reference to the FPGA bitfile and load it into the FPGA.
0 Kudos
Message 6 of 7
(2,992 Views)
Additionally, if you are not able to create an RTEXE, you could also set a VI to automatically start, though the .rtexe method is highly recommended.  See this KB for more information.
Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments
0 Kudos
Message 7 of 7
(2,981 Views)