set processor process time using in code

set processor process time using in code

gguedia5QZFN
Enthusiast Enthusiast
908 Views
4 Replies
Message 1 of 5

set processor process time using in code

gguedia5QZFN
Enthusiast
Enthusiast

[ FlexSim 23.2.1 ]

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

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

joerg_vogel_HsH
Mentor
Mentor
@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
Message 3 of 5

FelixMoehlmann
Mentor
Mentor
Accepted solution

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\")...
0 Likes
Message 4 of 5

gguedia5QZFN
Enthusiast
Enthusiast
Thank you!
0 Likes
Message 5 of 5

gguedia5QZFN
Enthusiast
Enthusiast
@Joerg Vogel , could you elaborate on how to add multiline string into a node? is there any page that explains how to do that?
0 Likes