question

mary avatar image
0 Likes"
mary asked Andrew O commented

item creation by code

Hello I want to built a basic model where I need to create global table items directly to create in Queue without source using code. And all the labels should be assigned to that item mentioned in global table. I have tried building model but for both part it is assigning same value.

itemcreation.fsm

@Felix Möhlmann

FlexSim 20.0.10
global tableitem
itemcreation.fsm (24.5 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.

Joerg Vogel avatar image Joerg Vogel commented ·

@mary , that is impossible. Even a simpliest look up of a table value involves in some way a source code. If you read a table value, you are accessing him with row and column square brackets behind a reference to a global table node. This is a source code!

In your example you need a row number to read values in a table. Typically we begin with a label called Type for such a task. But any other name will fit, too. Then you are able to fill any other label values or set up a name by look up your table.

0 Likes 0 ·
Andrew O avatar image Andrew O 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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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