04-02-2008 06:05 AM - edited 04-02-2008 06:07 AM
Ok,
these are the sub modules which you call from an main module in your application right?
First, find the total number of inputs and outputs of all the sub mudules. Consider the common input for all the sub module only once while counting.( Donot inlude them in all, you can use it for all the sub modules ). If the total number goes beyond 28, then you cannot make a single sub module which will have all the sub modules.(unless you think of using clusters
)
If not exceeding 28 (or now u thought of using clusters) Then, create another vi with a case stucture. Create cases for each of your sub module, place the sub module(VI)s inside the respective case.
Just call the corresponding case to be executed from the main VI(module) of your newly created vi. Pass the corresponding inputs to the submodule, and get the output.
Hope this helps.
04-02-2008 07:21 AM
04-02-2008 07:36 AM
04-02-2008 07:50 AM
Glad I could help.
AMV wrote:
But submodules have not smilar nature - TTL, DAC, ADC, frequency meter and etc, with different number of channels, and all this must be easy understand for users, i.e. best decision will be dynamically changing VI with different number of channels and different configuration parameters.
04-02-2008 07:54 AM
04-02-2008 08:05 AM
04-02-2008 08:06 AM
AMV wrote:
In my understanding dynamically - mean - when user add VI - VI should changing under current set of submodules.
04-02-2008 08:12 AM - edited 04-02-2008 08:14 AM