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

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

gokulakrishnan_k2
Not applicable
19 Views
1 Reply
Message 1 of 2

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

gokulakrishnan_k2
Not applicable

[ FlexSim 20.2.3 ]

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

33726-1603944429747.png

0 Likes
Accepted solutions (1)
20 Views
1 Reply
Reply (1)
Message 2 of 2

roi_sn
Not applicable
Accepted solution

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:

33735-1603956339628.png

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.