LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA code only works on alternate executions

Hi,
I have some code I wrote for FPGA which, by itself, works fine. I tried to use "Open FPGA VI Reference" as part of a previous (non-FPGA based) VI. However, I find that the full code only works on alternate executions. I thought this may be because the FPGA VI is not being reset properly. However, I have used "Close FPGA VI Reference" and chose "Close and Reset" and the problem remains.
Any help is appreciated,
Thanks.
0 Kudos
Message 1 of 3
(3,374 Views)
Hi Gary,

I hope you are doing well today! What version of LabVIEW FPGA are you using? When you say you are doing 'alternate executions', what exactly do you mean? Do you run your host VI, stop it and then run it again? Have you tried just using Close instead of resetting the FPGA VI? Also, what are you using the reference for? What are you invoking? It would, also, be better if you post a screenshot of your VI.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(3,307 Views)
If you close the reference, the program is still running. Try to stop the
FPGA (I think there is a stop or abort function) before your host program
starts it again.

Regards,

Wiebe.


0 Kudos
Message 3 of 3
(3,306 Views)