question

Gilles avatar image
0 Likes"
Gilles asked Gilles commented

set processor process time using in code

Hello,

I would like to use a code to set the process time of a processor so that it appears like the image below. what is the line of code for that?


1734405794449.png

FlexSim 23.2.1
processorscriptprocesstime
1734405794449.png (13.5 KiB)
· 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.

@Gilles, you cannot do this. You would write code as a multiline string to place it into a node and convert this node into a script node.

Maybe you can write a txt file containing characters that you import as tree node file into a node.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Gilles commented

See the comment chain in the linked answer.

https://answers.flexsim.com/questions/173395/can-i-set-the-inter-arrival-time-by-using-flexscri.html

For the table name you need to escape the quotation marks, so they don't end the string.

...Table(\"Rates\")...
· 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.

Gilles avatar image Gilles commented ·
Thank you!
0 Likes 0 ·