ā03-30-2015 05:52 AM
Hi,
I have an FPGA vi and then host vi (LabView 2013), in which I want to run the FPGA vi. I am using Open FPGA reference and then invoke metod. When I choose abort and FPGA vi is running, it will stop. But if I want to start it (FPGA vi is not runnig) and use run, the FPGA vi does not start. Do I have to check/create something special in FPGA vi or should I do something special during the compilation?
Thanks a lot in advance
Stanislava
ā03-31-2015 03:47 AM
Hi Stanislava,
could you please attach the code example?
Regards,
Nina
ā03-31-2015 06:05 AM
Thank you Nina for your reply.
Here is the piece of code, where I call the FPGA. Like this, it does not start the FPGA.
ā03-31-2015 07:06 AM
could you please attach the vi? I want to have a look on the configuration of the open FPGA reference function.
Thank you!
ā03-31-2015 07:44 AM
Original is too complex, so I made just this small one.
ā04-01-2015 02:35 AM
Hi,
thank you for the vi.
So, I don“t know what you expect, the vi should do! Because you just start the fpga vi, but you don“t even read or write any data so you won“t see anything, even if it“s running. You could have a look on the LabVIEW example finder. There you will find several examples of how to read or write data, you get from the FPGA. I attached a picture of how you can find the examples.
Regards
ā04-01-2015 02:50 AM
But that is the problem. This does not start the FPGA. My FPGA is triggering cameras during acquisition of the data. I just want to run it when my program starts. But with this it is not running (at least, my cameras are not triggered). If I run it normally, that means I press run button in the FPGA vi, everything is working. But that means that at first, I have to run the FPGA vi and than the acquisition program. For practical reasons I want to run just the acquisition program. I think I have to set something somewhere, but I still not figured out what and where.
ā04-01-2015 03:35 AM
So I figured it out. The FPGA did start run, but when I closed the reference, it also stopped. And I was using it after closing the reference. I did not realized, that it works like this(and also that nobody could notice, since I put just part of the code here). Thank you Nina, you inspired me to find the solution.
ā04-01-2015 03:55 AM
Hey,
sounds great. š Yes I am sorry that I couldnĀ“t help in this case but I am glad that you could figure it out.
Have a nice week!