LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application:kind only has two options...

Solved!
Go to solution

I want to make my executable close when I press the Quit button, so I'm following the example here...

http://forums.ni.com/t5/LabVIEW/close-window-after-execution/td-p/961740

 

However, when I wire up the App.Kind Property to the case structure, I'm only given the options

 

"invalid app kind", Default 

 

and

 

 "Development System" 

 

I haven't found anyone else who had this problem.  The documentation says there should be 6 options...
http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/app_appkind/ 

 

Am I missing something?

0 Kudos
Message 1 of 4
(3,094 Views)
Solution
Accepted by topic author jwebster

Hi jwebster,

 

right-click the case structure -> create case for each item…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,092 Views)

jeez

 

thanks, I assumed it would automatically create all of them.

 

Cheers

 

0 Kudos
Message 3 of 4
(3,085 Views)

Creating a case for each automatically would make things more difficult.  Suppose you had 9 values in an enum, but wanted to group them into groups of 3.  You'd need to delete 6 of the cases one by one as you add the other enums values to the cases they have in common.

 

Meanwhile to go from a nice start of 2 two cases, it is just one click to create a case for each.

 

Also, often, I want several values to have very similar cases but with small differences.  It can be easier to duplicate a case and assign it to the new enum value, then make the minor changes to that new case.

Message 4 of 4
(3,048 Views)