LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW DLL loaded from LabWindows/CVI

I am trying to use a DLL from a LabVIEW project that is meant to start the associated LabVIEW program. The executable runs fine, but when I call the DLL function from LabWindows/CVI the application does not run and the DLL function does not return.  I believe I am loading the DLL and calling the function correctly because the LabVIEW project uses an INI file, and when I set it so the device number of the DAQ card I am using is incorrect LabVIEW generates an error. I'd like to be able to call a a LabVIEW DLL function to start up the LabVIEW application with user interface.
0 Kudos
Message 1 of 3
(2,600 Views)
You want to show the front panel of the top level VI? By default, the front panel of the main VI is removed and the front panel is not shown. Select VI Properties>Window Appearance and select either dialog or customize and make sure show front panel when called and Close afterwards if originally closed is checked. When you build the DLL, go to the VI Settings tab and make sure Remove Panel is No and Show Panel is Yes.
0 Kudos
Message 2 of 3
(2,597 Views)
Thanks. I will foreward this to the developer of the DLL I'm trying to use.
0 Kudos
Message 3 of 3
(2,592 Views)