03-14-2018 06:57 AM
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.
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.
03-14-2018 07:13 AM
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?
03-14-2018 07:15 AM
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