question

Raul V3 avatar image
0 Likes"
Raul V3 asked Raul V3 commented

Shared Assets Variable in Fixed resource example

Hi team,


Can you please give an example and a short explanation in how to use/update/set/get a variable by each fixed resource?

Thanks a lot for the support

FlexSim 20.1.3
flexsim 20.1.3resourcevariable
· 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.

tannerp avatar image tannerp commented ·
@raul.v3,

Which variable do you need help updating? Are you referring to Global Variables? Or a label variable on the fixed resource?

Any screenshots or example models you have to explain your question would be helpful. Thanks!

0 Likes 0 ·
Raul V3 avatar image Raul V3 tannerp commented ·


Hi Tanner,

I refer to below variable labels , thanks a tons. ( the image is only one example, I don't have a model to share due I don't know how to use it properly)

RV




0 Likes 0 ·

1 Answer

tannerp avatar image
1 Like"
tannerp answered Raul V3 commented

@raul.v3,

Thanks for clarifying your question. The User Manual has sections for each of these activities that will provide lots of information about them. I also created a small example model to show how it can work. The example uses the Variable to track how many items are in Queue1 and then it checks that number to create an appropriate number of tokens to move the items to Queue2. There are hundreds of ways to use variables, though, so don't think that it's limited to my example.

Variable: Variable User Manual

Get Variable: Get Variable User Manual

Set Variable: Set Variable User Manual

Example: variable example.fsm


· 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.

Raul V3 avatar image Raul V3 commented ·

Thanks a lot , I was reviewing the manuals but i don't see any example in my tutorials. I only saw images and html files.


0 Likes 0 ·
1595955317435.png (15.9 KiB)
tannerp avatar image tannerp Raul V3 commented ·

The example model was something I made and attached to this question, so it wouldn't be available in the tutorials. Were you able to open and review the model? Did you have other specific questions about using Variables?

1 Like 1 ·
Raul V3 avatar image Raul V3 tannerp commented ·

Your example was great..! … I m working with that example to practice...I think that for now im ok with that. thanks a lot


1 Like 1 ·