LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA + Scan engine

Hi community,

 

I have an RT + FPGA chassis and I have inherited a project which only used the scan engine to acquire data. There are some new requirements demanding a lot higher sampling rate so I need to write and FPGA vi. Is it possible to use the both scan engine and an FPGA vi to collect data from the same module at the same time?

 

thanks.

0 Kudos
Message 1 of 5
(3,088 Views)

Yes.  It is called "Hybrid Mode".  Basically, you create an FPGA target under your chassis.  From there, you just post the modules you need for the Scan Engine directly under the chassis and the modules you need FPGA control you put under the FPGA target.  Do take notice that the Scan Engine uses 2 DMA channels.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 5
(3,076 Views)

Is it possible to use the both scan engine and an FPGA vi to collect data from the same module at the same time?


Hybrid mode requires you to designate a whole module as scan mode or FPGA Interface mode, so you can't mix and match on the same module. One possibility that might solve your problem is user defined variables. Essentially, they allow you to transfer data from your FPGA diagram as part of the scan. So you could read all the data on the FPGA using IO Nodes and then transfer the low speed data to the host using IOVs.

 

Sebastian

Message 3 of 5
(3,032 Views)

Hi 1984

 

Reinforcing the previous answers. Here is a document on how set up the Hybid mode

 

How Can I Use Scan Engine and FPGA Simultaneously on a CompactRIO (Hybrid Mode)?

 

WenR

Message 4 of 5
(3,017 Views)

Thanks guys, very useful answers!

 

0 Kudos
Message 5 of 5
(3,004 Views)