Posted: 30 May 2018 0:35 EDT Last activity: 11 Jul 2018 5:16 EDT
Controlling run order for multiple control links
It seems that in Robotics Studio, it is possible to have multiple control links emanating from a single control (see attached image).
Our own testing seems to indicate that the links run in sequence, not in parallel. Assuming this is true,
is there any way to
1. control the order in which the links are executed and
2. in some way display the order on the GUI interface or, if not
3. disable the creation of multiple control links on the output side (in the same way multiple data links on the input side is disabled)?
You should never have more than one execution link (yellow line) coming out of an execution point (yellow dot). If you want to execute multiple things in parallel, use the Parallel Process component in the Toolbox. In that component, links are executed in parallel (at the same time). If you want them in series, then I would just chain them together (i.e. one after another). If you want to change the order that they get executed in series, then I would use activities and have your GUI start the activities in the correct order once your button is clicked.
Actually, both the client and I already agree with you: we prefer option 3 ("disable the creation of multiple control links on the output side (in the same way multiple data links on the input side is disabled)"). Is there any way to do this (by changing settings in Studio)? Or should we submit a change request to dev?
Enabling multiple control links coming out of one step is misleading and not necessary.