LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga vi fails to run when called from host vi

i tried to run Digital(FPGA).vi in fpga examples. i set the target to pxi-7831r instrument. everything runs fine. then i opened Digital(HOST) and set target back to "labview for windows." Digital(HOST) runs fine and it does spawn Digital(FPGA) supposed to be running on hardware. but somehow on the front panel of Digital(FPGA), those push buttons stop reacting.

i tried some other examples involving calling a reference to a fpga vi on the hardware from a host vi. all seem to have the same problem: the fpga vi's seem to be running but no front panel update.

is there any config or any trick one needs to do before using a host vi to spawn a fpga vi on hardware?
0 Kudos
Message 1 of 4
(3,586 Views)
Hello,

If I understand your question correctly, you want to be able to control the front panel of your FPGA VI simultaneously from FPGA VI and the HOST VI. That's not possible but at the same time it shouldn't be necessary.

The only way you can run the FPGA VI directly is when you're targeting the RIO device. The FPGA VI is not going to run if you're targeting windows. In that case you should use the HOST VI to remotely control the FPGA VI. Since LabVIEW can only target windows or RT at any time, HOST and FPGA VIs can not run simultanously.
Hope this helps!

Best regards,

Yusuf C
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,586 Views)
thanks! that makes sense. i have one more question.

by any chance do you have any idea? thanks!
0 Kudos
Message 3 of 4
(3,586 Views)
I think you're on the right track. If I remember correctly AI Convert should be the signal you need to route but I would check the user manual to make sure that the definition of that signal matches what you need.

Regards,

Yusuf C
Application Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,586 Views)