Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple FPGA vi's in a single target

Hi ,

 

I am making use of a PXI  R-series FPGA target. I have written 2 VI on the FPGA target controlled with 2 host VI's . I use both the host VI'S in a main labview programme for different purposes and both the VI's are NOT running simultanouesly.However  I encounter a problem. When my first FPGA VI is stopped in the main programme it stops working but for some reason it is not closing the FPGA reference and hence I am not able to run  the next FPGA VI.

However the interesting part is the problem occurs randomly. Sometimes I don't encounter this problem.

I hope I have explained the problem clearly. Please can somebody help me out.

 

Thanks

0 Kudos
Message 1 of 2
(2,843 Views)

Can you combine both of the FPGA programs into one?  I typically have SPI, Analog Out, Analog In, Delta-Sigma, Digital I/O all packed into one FPGA Program.  I put the different functions into a Case Structure within a constantly running while loop.  I select the Operation I want to perform and go back to my NOOp state when finished.

 

If you can NOT do this make sure you close the first FPGA program before starting the second FPGA program. Make sure you wait until the FPGA bitfile is download and running before trying to access it.

 

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
0 Kudos
Message 2 of 2
(2,828 Views)