08-14-2009 10:31 AM
This Nugget touches on spwaning off multiple VI running in parallel with unique occurences used to control each. The code is included in that thread that will demonstrate this basci design.
Ben
08-14-2009 12:37 PM - edited 08-14-2009 12:40 PM
Great stuff,
However, I thought I shouldn't need the occurance array generation, and may simply run multiple subVIs in a parametric for loop and leave them to run, like what Lunch a Template Instance.vi in Ben's package does.
I am now only investigating if I can replace the series of (Invoke Node Invoke Method: Contral Value:Set...)s by one Call By Reference node, which can accommodate the connector pane of the subVI in one node, so all parameters can be wired up to one node, avoiding setting control values one at a time,... trying to get the concepts clear,...
Siamak
08-14-2009 12:45 PM
Siamak wrote:Great stuff,
However, I thought I shouldn't need the occurance array generation, and may simply run multiple subVIs in a parametric for loop and leave them to run, like what Lunch a Template Instance.vi in Ben's package does.
I am now only investigating if I can replace the series of (Invoke Node Invoke Method: Contral Value:Set...)s by one Call By Reference node, which can accommodate the connector pane of the subVI in one node, so all parameters can be wired up to one node, avoiding setting control values one at a time,... trying to get the concepts clear,...
Siamak
Message Edited by Siamak on 08-14-2009 12:40 PM
Invoke node call by reference will wait for the called VI to complete so it can get the data returned by the sub-VI.
Ben
08-14-2009 01:31 PM
thanks Ben, this sorted out my understanding.
Siamak