LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to append path and import VIs from a folder, and exclude some?

Hi, I am using Build path and Open VI reference to open all of the VIs and import their names in a multi column list box, but there are only 2 files in the same project, that I want to exclude, otherwise I get an error when trying to run. How can I programatically do that?

Seli6272@D
0 Kudos
Message 1 of 2
(162 Views)

Hi Seli,

 


@LZD_Sydney wrote:

there are only 2 files in the same project, that I want to exclude, otherwise I get an error when trying to run. How can I programatically do that?


You need to filter the array of filenames to exclude those unneeded VIs…

 

As we don't know the VI filenames we cannot help you with implementing your filter algorithm!

(Why are those 2 VIs in the same folder when you don't want to handle them the same way as all other VIs???)

Best regards,
GerdW


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