How do I link a combo box to an edit box?

How do I link a combo box to an edit box?

Zayth
Not applicable
84 Views
4 Replies
Message 1 of 5

How do I link a combo box to an edit box?

Zayth
Not applicable

[ FlexSim 23.2.1 ]

Hi,

I want to build a GUI with a combobox which I want to associate with distributions and the parameters can be changed. for example combobox has the following options 1. normal(mean-std dev), option 2. weibull (location-scale-shape), lognormal mean dest dev (mean-std dev). When the user chooses one of these 3 distributions, he can enter the parameters that define said distribution. If he chooses Weibull, the parameters to enter would be location, scale and shape. In this case I want to implement it for the MTBF MTTR times

I would appreciate it very much.

0 Likes
Accepted solutions (1)
85 Views
4 Replies
Replies (4)
Message 2 of 5

jonah_kendellR47TC
Autodesk
Autodesk
Accepted solution

I demonstrated how you can do this in this model:

ComboBoxEdit_JK.fsm

The inter-arrival times for Source1 have a "value by case" which looks at the GUI combobox as the case function. Each case in the combobox (1, 2, 3) will use a corresponding distribution (Normal, Weibull, Lognormal) to determine the arrival time. Then, I replaced each parameter in the function with a reference to a Global Table cell, instead of a number. So now, you can edit the Global Table to have the parameters you want for each statistical distribution, and can use the combobox to select a distribution.

0 Likes
Message 3 of 5

jason_lightfoot_adsk
Autodesk
Autodesk

Hi @Eduardo, was Jonah K'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
Message 4 of 5

Zayth
Not applicable

Thank you very much! It helped me a lot!

0 Likes
Message 5 of 5

Zayth
Not applicable

yes, your answer was very helpful in te interface i am developing. this space is very gratifying to ask questions.

0 Likes