LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically find out if LV runs in program mode or in compiled app

Solved!
Go to solution
I'm using LV 8.5 and do some measurements with a USB-DAQ. Since I have a compiled version the code is still growing. So I'm looking for a possibility to differ programatically between two exits. While testing, exit and return to the development system, and as compiled application, exit LV completely and return to the system (as it does with exit.vi).
0 Kudos
Message 1 of 5
(2,840 Views)

Application property "App.kind" is what you are looking for.

 

Test against "run-time system" value and wire to Quit LabVIEW vi.

Regards,
André (CLA, CLED)
Message 2 of 5
(2,836 Views)
Thanks andré for your fast answer, but I have problems to find this property "app.kind". All I found was "app.typ" and that's not what you described. I had a look to a property node --> application --> "typ", so do I look at the wrong area?
0 Kudos
Message 3 of 5
(2,811 Views)
Solution
Accepted by topic author deepearth

Hi,

  Have a look at the image.

0 Kudos
Message 4 of 5
(2,807 Views)
Thanks AutoTEC, your picture shows the difference between the languages, English: kind, German: Typ. Now the app runs fine.
0 Kudos
Message 5 of 5
(2,801 Views)