Using Scan Engine and FPGA Simultaneously on a CompactRIOPrimary Software: LabVIEW Modules>>FPGA ModulePrimary Software Version: 8.6 Primary Software Fixed Version: N/A Secondary Software: Driver Software>>NI-RIO, LabVIEW Modules>>Real-Time Module Hardware: CompactRIO
Problem: I want to use some of my cRIO modules in Scan Mode and some in FPGA Mode. There is no explicit option to do this in the chassis properties. How can I do this? Solution: Using the Scan Engine and FPGA at the same time on a target is known as hybrid mode. There are a few things to consider before starting to program in hybrid mode. First, the compile time will significantly increase because the compiler has to combine the default RIO Scan Interface bitfile as well as the FPGA code that was created into one bitfile. Secondly, the number of DMA FIFO's that can be used in the FPGA code will be reduced, since the scan engine uses two DMA FIFO's. Most FPGAs have 3 DMA FIFO's, so there will only be one DMA channel left to use in the FPGA code. The following steps can be followed to set up your device in Hybrid Mode:
![]() Note: As mentioned in Step 3, the chassis must be in FPGA Interface mode before operating it. To do so (if Deploy Later was selected), simply right click on the chassis in the project and select Deploy. If the chassis isn't in FPGA Interface Mode before running the application, you will get an error message similar to the following:
error code -61141 Related Links: Product Manuals: Getting Started with CompactRIO and LabVIEW Knowledgebase 4Q1DQ7BZ: What are the requirements to use CompactRIO Scan Mode? Knowledgebase 406BAE4H: Why Does It Take So Long to Compile an FPGA VI for a cRIO in Hybrid Mode? Developer Zone Tutorial: Using NI CompactRIO Scan Mode with NI LabVIEW Software
Attachments:
Report Date: 05/28/2009 Last Updated: 09/17/2009 Document ID: 4XRBMIUV |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


