LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating selective options tab for EXE for different VIs

 

I have two different VIs which executes two different methods for the same measurement.

Right now, I have created two separate EXEs and they are working well.Smiley Happy

 

I would like to create single EXE file for both the VIs with an "Options tab" (pop up tab after double-clicking the program) 

so that I can select one of the two methods depending on the requirement,

Please suggest me a way to do the aforementioned task.

0 Kudos
Message 1 of 3
(2,119 Views)

Hi Haristhota,

 

seems very simple:

1. show an options dialog window right after starting your program (I would use a boolean button to choose between two options)

2. call the "method" selected by the user (I would use a case structure here)

 

So what is your problem? Where are you stuck?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,105 Views)

hi there,

that should be straight forward.

 

create a "main" VI, where you have the user-interface-logic to select which of your two measurement methods you want to use, then have for example a case structue and in one case you put the first vi in another case the second.

 

in the build specifications you select your new main-VI, the others will be automatically referenced because they are in the main-VI.

build you exe, and that sould be it

 

regards


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 3
(2,103 Views)