question

Raul V3 avatar image
0 Likes"
Raul V3 asked Joerg Vogel answered

Change cycletime using code

Hi team,

Im changing the cycle time using code but below is not working

setvarnum(Model.find("Example"),"cycletime",Table("GlobalTable")[1][1]);

could you please let me know why does not work?


thx

R.V

FlexSim 20.1.3
flexsim 20.1.3setvarnum
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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

The cycle time is function and not variable. This function returns the cycle time. What you can do, you add a label, you return the label value in cycle time function. You set the label value. This is nearly the best approach to get to the same result.

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

Raul V3 avatar image Raul V3 commented ·

Thanks , Im going to use that


0 Likes 0 ·