LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to compile FPGA vi without target?

Solved!
Go to solution

Hello everyone,

 

I just want to ask if itis  possible to compile/run  a FPGA vi with no target device? does it exist a simulator to replace the real target and see how the device will behave?

 

Thanks in advance.

 

regards,

ND_CV

0 Kudos
Message 1 of 8
(2,507 Views)

Hi CV,

 


@CV_ND wrote:

I just want to ask if itis  possible to compile/run  a FPGA vi with no target device?


To be able to compile the FPGA VI you need to set a certain target in your project.

(But you don't need that target connected to your computer.)

 

Later on you can run the FPGA VI in simulation mode without hardware attached, with some limitations (regarding timing and certain FPGA features).

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 8
(2,484 Views)

Hello GerdW,

 

Thanks for the fastest reply,

is there any manual / tutorial for doing that (simulating FPGA target even if it's not connected) ?

 

Thanks,

 

best regards

 

ND_CV

0 Kudos
Message 3 of 8
(2,481 Views)
Solution
Accepted by topic author CV_ND

Hi CV,

 


@CV_ND wrote:

is there any manual / tutorial for doing that (simulating FPGA target even if it's not connected) ?


Open the FPGA VI, look at the lower left corner of the window.

There is a selection box where you can switch the execution system from "FPGA" to "Simulation"!

 

Edit: NI recommends to run in simulation mode before compiling…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 8
(2,455 Views)

Hi GerdW,

 

I'm not able to find the selection box that you mentioned. 

 

CV_ND_0-1662117012697.png

 

 

can you please help me finding it?

 

 

Thanks

CV-ND

 

0 Kudos
Message 5 of 8
(2,419 Views)

Hi CV,

 

I don't see any FPGA code in your image!?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 8
(2,345 Views)

If you are using DAQmx on a cRIO, you are not using the FPGA in a user-configurable way.  The code you have is on the RT side of the cRIO.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 8
(2,339 Views)

Hello everyone,

thank you very much for your answers.

I have found how to simulate the FPGA vi, but how can I do that for an RT vi?

0 Kudos
Message 8 of 8
(2,323 Views)