03-26-2013 02:32 AM
@sonotk wrote:
Thanks,to pass the data cluster is it better to pass only the elements required by a subVI or the complete cluster to subVIs?
Never used data value reference. Looks like if complete cluster is passed to all subVIs then data value reference can be used. Is the new data value reference to be created once at the start of application and then use this reference throuhout by unbundle and bundle functions?
Pass the complete cluster, unless it's so big you have several sub-clusters in it, in which case you'll send one of those (typedef'd) clusters.
The reason being that any change you need to do is done by changeing a typedef, picking out parts makes that alot harder.
/Y