04-10-2008 06:30 AM
"With this procedure, I thougt that I can run my loop faster because I don't have the RT VI open on my desktop (PC), so the PC don't have to synchronise the VI. But when I startup my compactrio, I loose connection with the target...To make your application (RT host VI and FPGA VI) run automatically on startup of your cRIO, you will need to do the following:1. Download the FPGA VI to the flash memory on your cRIO. If using LabVIEW 8, right-click on the VI in the Project Explorer Window and select Download VI or Attributes to Flash Memory...2. Build an executable out of the RT VI. Under your RT target in the Project Explorer, right-click on Build Specifications and select New>>Real-Time Application. Select the source files necessary for your application and any support files to be included. Click Build.3.. After building the RT Application, you will find its entry under the Build Specifications folder in your project. Right-click on the application and choose Set as startup. Right-click again and choose Deploy, which will download the application to your cRIO.
"
04-11-2008
02:08 AM
- last edited on
04-09-2024
04:50 PM
by
Content Cleaner
Hello,
The method you use in your application to transfer the data from the FPGA to the RT Host use the Front Panel Interactive Communication that write/read the control/indicators of the FPGA VI. This method provides also risk of Race Condition and use uP resources.
To avoid errors in data caused by race conditions and use less processor resources, I suggest you to rewrite this part of your application with the method DMA transfer from FPGA to Host.
Best Regards,
Nick_CH
04-11-2008
03:23 AM
- last edited on
04-09-2024
04:50 PM
by
Content Cleaner
Hello,
I saw that you posted lots of question about the cRIO and about the architecture of your application.
Since last year, National Instruments provides a 3-Days course called CompactRIO and LabVIEW Development Fundamentals.
This course contents the following topics:
-> Configuration
-> Architecture
-> FPGA Programming and Optimization
-> Data Transfer and Synchronization
-> ...
Best regards,
Nick_CH
04-11-2008 10:04 AM