LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compact Rio - Multiple RT Threads communicating with FPGA

Hello,

 

What is the proper way to configure the OPEN FPGA REFERENCE call in Labview when multiple threads running on the RT side need to communicate with processes running on the FPGA?

 

Thanks,

 

- Jim

0 Kudos
Message 1 of 3
(2,239 Views)

You can open multiple instances to the same FPGA VI, but since there is just a single bifile it is a shared resource. So you might introduce adittional jitter to your timecritical code.

But since accessing IOs or DMAs of the FPGA VI is really, really fast, you might not notice it.

You could also create an API for accessing the FPGA which you could use as a SubVI configured as Subrouting with "skip if busy is true", or you could handle all the access to the FPGA in a single thread and use other mechanisms to share the data among your RT VI.

 

 

Christian

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

Thanks, Christian.

 

I'll give them a try.

 

Thanks again.

 

- Jim

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