01-19-2011 09:32 AM
Please help me.
I can successfully pass arguments to a sub-vi using "call-by-reference-node" but the sub-vi will not run in parallel. I can also run my sub-vi in parallel by using "invoke node", but then cannot pass arguments. I can't seem to figure out how to merge these two concepts together.
When I open the VI reference, I have to specify the strict type, when using call-by-reference-node. When I use invoke node, I don't specify the type. It seems that specifying the strict type keeps the VIs from running in parallel, but also seems necessary to pass arguments.
I apologize for my lack of a deeper understanding of this and appreciate any help you can give me.
Chris
Solved! Go to Solution.
01-19-2011 10:12 AM - edited 01-19-2011 10:16 AM
You need the invoke node "Ctrl Val.Set".
01-19-2011 10:37 AM - edited 01-19-2011 10:40 AM
Is your vi reentrant? Also each call by reference needs it's own static vi reference constant. (I think)
01-19-2011 10:54 AM
The code in this Nugget may help get you started.
Preview...
It launches multiple FPs to simulate each notes from an Aimusic video.
Ben
01-19-2011 01:04 PM
FANTASTIC, Jean-Marc!!!!!
Thank you for your great insight!!!!
Chris