question

ShabDz avatar image
0 Likes"
ShabDz asked commented

How can I change queue (or rack) maximum content by global table?

Hi, the software only let me change the rack/queue maximum content by a numeric value. I want to have control of maximum content via a global table (or label). Any help is appreciated.

FlexSim 17.0.13
global tablequeuerackqueuesqueue content
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

Joshua S avatar image
3 Likes"
Joshua S answered commented

You will need to run code for this to work, you can have this code run on a model reset trigger so it will update everytime you reset the model.

 getvarnode("YourQueue/Rack","maxcontent").value=Table("YourTable")[Row]][Column]
· 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.

黃 avatar image commented ·

model(複雜網路).fsm

Dear @Joshua S

I want to setup the maximum content for the queue from the global table. And I run the code for this on a model run trigger. I want to make the queue maxcontent is 137.

Like this picture.

But there is an error.
The number to the Global table is imported by Excel. The Excel will change, so I need to set the number by global table.

Do you know how can I fix this problem?

Thanks a lot.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @黃,

Please post your question as a brand new question. Posting a new question as a comment on a long answered question that already has an accepted answer is not the best way to get help. Please see our best practices article for other tips on using this Question and Answer community. In your new question, you can link back to related older posts if you think that would be helpful for people reading your question.

Also, there is a bug on this community where if you edit your post it loses your pictures and/or attachments. Even though you may still see your images on your post (they're in your browser's cache) I don't see your attached pictures, for instance:

If you have to edit your post, be sure to reattach the images and/or files.

0 Likes 0 ·
1608047186747.png (12.3 KiB)
黃 avatar image Ben Wilson ♦♦ commented ·

I will post my question as a brand new question.

Thanks for your request.

1 Like 1 ·