Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan mode and FPGA

Solved!
Go to solution

I want to utilize some of my modules in Scan mode and some in the FPGA mode. Although I could create a hybrid project, I am unable to make a VI implementing both of them. I get an error as in the block diagram I have attached. I want to to read the analog inputs through NI 9239 using scan interface mode and put out the output through 9269 using fpga mode.Is that possible? I am a bit new to this.

 

Thanks in advance!

 

0 Kudos
Message 1 of 2
(3,611 Views)
Solution
Accepted by topic author sampriti

You certainly can't do what you were trying there.  You will need at least two VIs for this application.  You will need a VI running under the FPGA target that can read and write the purple nodes (FPGA IO nodes).  You will need a VI running under the RT controller that can read and write the variables, like the yellow node in your picture.  To talk between the two VIs, use the FPGA Interface pallette to read and write controls and indicators on your FPGA VI from your RT VI. 

 

Does that information get you a little unstuck for now?

0 Kudos
Message 2 of 2
(3,600 Views)