Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run FPGA vi in a host vi without waiting for it to finish?

Greetings.

I am using a PCI-7831R card with LV7.1.1 and I have a question. 
I use a host vi to run a pre-compiled FPGA vi.  When the FPGA vi is called inside my host vi, the host vi pauses and waits until the FPGA vi has finished. Is it possible to make the host vi run the FPGA vi and continue running without waiting until the FPGA vi is finished? How can I do that?
 
Thanks very much.
Richard Cisek
Department of Chemical and Physical Sciences
University of Toronto
 
0 Kudos
Message 1 of 2
(4,323 Views)

It sounds like you may be using the FPGA Call VI node in your host VI to run the FPGA VI. This node does execute and wait for the FPGA VI to finish. Instead you should use the other FPGA host interface nodes (Open, Read/Write, Invoke, Close) to start the FPGA VI and interact with it while running. When you call the Close node you can configure the node to stop (reset) the FPGA VI or to leave the FPGA VI running independnet of the host VI. To chose this second option, right click on the Close node and select 'Close' instead of 'Close and Reset'.

For examples of using the FPGA host interface nodes, see any of the examples installed with LabVIEW FPGA such as:

..\LabVIEW 8.0\examples\R Series\FPGA Fundamentals\Host Synchronization\Polling Method

Message Edited by Christian L on 01-15-2007 12:31 PM

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
Message 2 of 2
(4,303 Views)