LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

check if VI is a control (.ctl)

Solved!
Go to solution

Given an array of VI references, is there a method to determine which VIs are actually controls (.ctl files)?  (Other than getting the path and checking that the file extension is .ctl.  I was hoping for a more direct way.  Smiley Happy)

 

Thanks,

Joel

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

If you already have a VI reference, you can read the "VI Type" property and see if it is equal to "Control VI".

 

-D

Message 2 of 3
(2,673 Views)
There it is!  Thanks!  Smiley Very Happy
0 Kudos
Message 3 of 3
(2,669 Views)