From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[FPGA] Question about testing on dev computer

Solved!
Go to solution

I have an FPGA vi that I want to test on my development computer with the method shown here:

 

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgaconcepts/test_bench_tutorial/

 

All well and good so far, but one problem- the 'custom FPGA for I/O' is effectively replacing my host VI as I understand it, but as well as simply writing data to FPGA nodes, the host VI also contains a few functions (not written by me but by NI) that are called to interact with the FPGA vi and set it up. Is there any way I can just call these VIs as I would on the host and have them setup the FPGA code when it is executing in simulated mode on the PC, or do I have to do something more clever?

0 Kudos
Message 1 of 3
(2,192 Views)
Solution
Accepted by topic author ToeCutter

Hi ToeCutter,

 

What kind of format do the functions in your Host vi take?

 

The easiest way to call these vi's while still using the test bench would probably be to add them to the automated execution Host vi (described at the end of the document), either before, during, or after the while loop, depending on their functionality.

Regards,

Al C
National Instruments,
Application Engineer
Message 2 of 3
(2,135 Views)

Al,

 

Your solution is obvious to me now you mention it, but would never have occurred to me! Like your Avatar, BTW! 🙂

 

Thanks for the help.

 

0 Kudos
Message 3 of 3
(2,128 Views)