question

mary avatar image
0 Likes"
mary asked Jeanette F commented

Identifying operator and its utilization

Hi team,

I have a station connected with dispatcher and dispatcher is connected with two operator. I am writing code "on exit" of station to collect utilization of station and operator in table. How to get which operator has worked on part. So that I can collect utilization of that operator which worked on part.

Please give the code and sample possible. Thank you

FlexSim 24.2.0
operatordispatcher
· 1
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @mary, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

The Utilize task has a reference to the involved item. You can use the On Start Task trigger on th operators to write a reference to themselves to a label on the item, if the started task is a Utilize task.

write-op-to-item.fsm


write-op-to-item.fsm (640.7 KiB)
· 2
5 |100000

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

mary avatar image mary commented ·
Can you please share the version that I have mentioned, I don't have version 25. I need 24.2.0 or below
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann mary commented ·

Right, sorry, I had an instance of FlexSim already open and didn't pay attention to the version.

write-op-to-item.fsm

0 Likes 0 ·
write-op-to-item.fsm (635.7 KiB)