question

Yue Y avatar image
0 Likes"
Yue Y asked Phil BoBo edited

Can we fire an event at specific time in FlexScript

Can we register an event in the future at designated time in FlexScript?

FlexSim 19.1.0
flexscript
· 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.

Joshua S avatar image Joshua S commented ·

Real time or runtime?

1 Like 1 ·
Yue Y avatar image Yue Y Joshua S commented ·

Simulation time, the virtual time

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

Yes, use a User Event:


userevent.png (62.7 KiB)
· 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.

Yue Y avatar image Yue Y commented ·

How can we do this programmably with FlexScript?

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Yue Y commented ·

Use the delayednodefunction() or senddelayedmessage() command.

1 Like 1 ·