Loop

29 views
Skip to first unread message

Yevhenii Prokopalo

unread,
Feb 26, 2019, 4:51:46 AM2/26/19
to beat-devel
Hello,

I have a question about loop channel. If I understand well, connections between "loop user" and "loop" blocks organised not with a help of standard connections between blocks. They using "Loop channel", an entity, which does not exist by default. How and where it should be initialised?

Best regards,

Prokopalo Yevhenii 

SG

unread,
Feb 26, 2019, 5:10:09 AM2/26/19
to beat-devel
Hi,

You have nothing to do from that side, the LoopChannel object is created by the system for you. It is passed to the process method of your loop user algorithm and to the validate method of the loop algorithm. You only have to use it.

Best regards

SG

Yevhenii Prokopalo

unread,
Mar 11, 2019, 6:24:17 AM3/11/19
to beat-devel
Hello, i was trying to use loop but i have the next error:
    RuntimeError: Algorithm 'Yevhenii_Prokopalo_Loop_1' is a loop enabled algorithm but no loop_channel given
Where can be a problem?
How should looks toolchain for using loop? If I understand well, Loop block dont need any outputs, but it is not possible create algorithm block without outputs.
Can you send an example of experiment with working loop?

Best regards,
Prokopalo Yevhenii


вторник, 26 февраля 2019 г., 11:10:09 UTC+1 пользователь SG написал:

SG

unread,
Mar 11, 2019, 12:32:36 PM3/11/19
to beat-devel
Reply all
Reply to author
Forward
0 new messages