From Thursday, May 23rd (05:00 PM CDT) through Friday, April 24th (1:30 AM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to select between different FPGA targets (different NI 6587 configurations) through the Host VI

Solved!
Go to solution

Hi,

I am using 7966R FPGA card with 6587 IO Module. I have two sets of FPGA VIs, one that uses 6587 in the serial mode (Serdes Channel) and the other in parallel mode (Serdes Connector). I am trying to select one of the FPGA VIs through the host VI and I am not sure if it can be done.

 

Some points to note:

  • All the IOs have same names, FIFO has the same name and data type.
  • Because they use the 6587 IO controller in a different configuration, I can't parallelize them and combine into a single VI.

Thanks,

Mayank

 

0 Kudos
Message 1 of 4
(3,160 Views)
Solution
Accepted by topic author mbothra

You should have a look at the Open Dynamic Bitfile Reference function.


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
0 Kudos
Message 2 of 4
(3,151 Views)

Hi Mayank,

 

It may help to clarify that a top level FPGA vi is what is used to generate a bitfile. The bitfile is what the host downloads to the FPGA target.

 

So if you have two different bitfiles that you want to run on a single target then you would need to download the first bitfile, run it until its task has completed, then download the new bitfile and run it. Note that in this scenario the bitfiles are downloaded and executed sequentially, not at the same time.

 

If you have two bitfiles that need to run at the same time then you would need two seperate FPGA targets. A host can communicate with multiple FPGA targets and have any of those targets download a compatible bitfile, but none of those targets may run more than one bitfile at any one time. 

0 Kudos
Message 3 of 4
(3,119 Views)

Hi David,

 

I was not looking to run them simultaneously, it was going to be one at a time. As you said, I need to close the first one before getting started with the second one.

 

Thanks,

Mayank

 

0 Kudos
Message 4 of 4
(3,070 Views)