10-15-2012 06:41 AM
Hi,
i work on a project that consists at automation of the VI unit test.
First, the user should choose from a combo box the VIs that should be tested, then those VIs will be displayed in the front panel and the user will connect them.
My problem is : i have no idea how can i program that!!
How can i call other VIs and display them in the front panel as blocks with inputs and outputs!!
Thx for your response.
10-15-2012 06:59 AM
I am not sure how you can achieve in showing the vi as a block containing input and output but you can certainly execute the vi's depending on the selection of the user by calling the vi's dynamically and executing them.
10-15-2012 07:02 AM
You can user VI Server to load a VI into a sub-panel, set the input values and then run the vi.
Rather than trying to write your own unit test framework, you might want to look at VI Tester.
http://forums.jki.net/topic/985-vi-tester-home-page/