question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Joerg Vogel commented

Is there any round robin command

Is there any round robin command we have. Like selecting Q1 and Q2 and repeat until Q3 is empty. Like code?

1624291110063.png

FlexSim 21.1.3
flexsim 21.1.3round robin
1624291110063.png (25.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

there Is only the picklist property Send To Port By Round Robin.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

SudheerReddy avatar image SudheerReddy commented ·

@Joerg Vogel through code I am trying

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ SudheerReddy commented ·

Hello @SudheerReddy,

@Joerg Vogel's answer does use code. If you select the pick option for the send to port like the picture below...

1624297238449.png

Then select the script button next to the field to see the code that governs the pick list option. 1624297320852.png

For this to work you also need queue 3 connected to the other two queue (hold the A key and select queue 3 and then the next queue).

0 Likes 0 ·
1624297226643.png (53.4 KiB)
1624297238449.png (53.4 KiB)
1624297320852.png (12.0 KiB)
Joerg Vogel avatar image Joerg Vogel SudheerReddy commented ·
@SudheerReddy , there is not a single command, because round robin depends on an amount of cycle steps. Each property you can insert from a picklist is a code. Literally you can find out how FlexSim engineers try to realize the task of the picklist source code. Please be aware of, that the code sometimes reflects its history. The code is valid, but often it is not newest possible code. And sometimes you are able to replace the code by a different approach.
0 Likes 0 ·