LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I start two codes in FPGA and Host VI at the same time

I want to start two codes on FPGA and Host VI exactly at the same time. It does not mean synchronization between them just start running at the same time. I need that to log some signals on the FPGA.

0 Kudos
Message 1 of 6
(3,097 Views)

Can you explain what you are concerned about or what problems you are running into? Are you concerned with actually starting them at the same time or just making sure they start some specific section of code at the same time? If it's the latter, you can use interrupts on the FPGA and host VI to make sure they start at the same time.

 

https://zone.ni.com/reference/en-XX/help/371599H-01/lvfpgahosthelp/synchronizing_using_interrupts/

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 6
(3,056 Views)

No, I just want to start at the same time once because FPGA sends some data and the host VI should receive them and log the data and I want not to miss any item.

0 Kudos
Message 3 of 6
(3,047 Views)

Just have the host start the FPGA code.

0 Kudos
Message 4 of 6
(3,039 Views)
How? When I put the FPGS vi inside of the Host VI it can not be run and has errors that shows bad wiring
0 Kudos
Message 5 of 6
(3,028 Views)

You do not place the FPGA vi's on the host block diagram, you open a reference to the FPGA, and tell it to run the vi's. 

 

Have you looked at this guide: 

http://www.ni.com/compactriodevguide/

Else do that NOW. 

It will tell you everything about how to make a program that works with FPGA targets.

0 Kudos
Message 6 of 6
(3,023 Views)