04-12-2013 02:56 PM
Hi everybody,
It'd be farily easy to verify this, but as I couldn't find a thread covering this I thought it'd be worth getting the knowledge out there to the community.
Will the order of the Start Asychronous Call match the order of the Wait On Asynchronous Call? I.E., if the VI was a straight pass through of an integer and you passed in, in order, 1 2 3 4 5, would the output be in the same order EVERY time? Since there is only one reference, and not a reference for every instance, I'm unsure. I assume the order can vary.
04-13-2013 12:30 PM
I'm not well versed in all the new clone pool options (I usually know how many clones I want and I open a specific reference for each one), but I suspect you are correct (i.e. my basic understanding is that at the ACBR node, LV will take a clone from the pool or create a new one and run it in parallel) and I can suggest a very simple check - add a random wait to the subVI and see if they come out in order. Like I said, I expect that you are right and they will not.
04-13-2013 12:37 PM - edited 04-13-2013 12:44 PM
Try out this example project I built for internal training on these new options. Parrallel loops are your friend here my colleges.
The Help file has quite a bit of detail, tips, tricks, caveats and examples for this topic. It is a little distributed but following the internal links will get you pretty deep. some reading and playing will bring you up to speed quickly
04-15-2013 09:42 AM
take at look at this white paper and examples too. http://zone.ni.com/reference/en-XX/help/371361H-01/glang/wait_on_asynchronous_call/
04-15-2013 12:05 PM
Edna-S, I believe that's actually the LabVIEW help.
Thanks everybody for the responses.