question

Gokulakrishnan Kandasamy avatar image
0 Likes"
Gokulakrishnan Kandasamy asked Roi Sánchez answered

Can i decide (process condition) based on number of trailer attached?

Greetings,

If i want to decide(PF condition) based on the number of trailers attached to the AGV. Suppose if I have one trailer it should go to loop 1 or if I have 2 should go to loop 2. is it possible?

@Raja Sekaran

Thanks in advance

FlexSim 20.2.3
agvflexsim 20.2.3decideprocesstrailer count
1603944429747.png (8.8 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

Roi Sánchez avatar image
1 Like"
Roi Sánchez answered

Hi @Gokulakrishnan Kandasamy, if you take a look at the FlexSim API, you will find a property to get an Array with the trailers attached to the AGV:

After that, you only have to get this array length to get the number of trailers and set up your condition in the Decide activity.


1603956339628.png (11.2 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.