04-25-2016 09:28 AM
Dear All,
I have labVIEW programs written for position sequence, the positional measurement from optical micrometers and program for digitizer card measurements. I would like to have all three programs as one single Vi. I thought of building an application consisting of all three aforementioned programs as one .exe but I am really confused about where to start. Could someone guide to solve my requests?
I will be attaching the Vis.
The purpose is to have a single program for a test bench that I am constructing for a Beam position monitor. The motion sequence Vi will move a wire, the optical micrometer will give positional information within its measurement range and the digitizer card will provide electrical information i.e. voltage induced at different electrodes due to different wire positions.
04-25-2016 10:01 AM
Why would you want to do that? I haven't taken a look at your VIs, but....
In general, it is desirable to have a modular program architecture. If you need a single exe, you create a VI calling your modules.
If you are not familiar with modular programming you should become as soon as possible! You will be saving youself from a lot of pain in the future. Monolithic code will make you constantly re-write your code
For further information on the topic, you might use this as a starting point
04-26-2016 02:13 AM
Since all VI's can be used as sub-VI's, you basically need a new Main GUI with buttons or tabs to activate your already made functions.
Just like you can drop functions from the pallette on a block diagram you can drop your own VI's in other diagrams to reuse them.
Did that make any sense?
/Y