LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trapping a missing external dll error

I have a labview vi that calls a third party .dll.  When the dll file is present, the vi will run properly.  However, if the dll file is missing, the vi will give a broken run arrow and will not run.  Is there a way to get the vi to run, detect the missing dll file, and return an error to the user that the dll file is missing.  There are  other features of the program that do not require the dll to operate, and I want the user to have access to these functions.

 

Thanks.

0 Kudos
Message 1 of 2
(2,650 Views)
You will need to configure the CLFN to specify the path to the DLL on the block diagram. There is a checkbox on the configuration page and when checked a terminal is added to the CLFN where you can wire in a path. When you do this, and the VI is loaded, if the DLL is not there the VI will not have a broken arrow.
0 Kudos
Message 2 of 2
(2,643 Views)