LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shutting down LabVIEW runtime engine

We created a data analysis & presentation vi and then produced a dll from it to be called from C#.

It seems to run fine the first time, but on subsequent (interactive) calls, the front panel does not display.

It appears that the LabVIEW run-time engine starts up on the first call (creating app. 6 threads) but fails to close or shutdown when we close the front panel. This appears to be the reason the panel does not appear on subsequent calls.

Do we need to explicitly shutdown the engine in some manner between calls to our dll?

If so, what is a good method for accomplishing this?
0 Kudos
Message 1 of 2
(2,463 Views)
I'm not sure about how your specific application is set up, but here are some things to look at:

1) There are several VI Properties in the Window Appearance section that you can set, such as "Show front panel when called", "Close afterwards if originally closed", and "Show front panel when loaded".

2) You can also programmatically influence when the VI is visible by using property nodes. See the documentation for "Open FP Method"
0 Kudos
Message 2 of 2
(2,463 Views)