question

Arun Kr avatar image
0 Likes"
Arun Kr asked Adrian Haws edited

Model clock time

Dear Support,

How can I get the model clock time?

Suppose if the model clock time is 8:00 AM in the morning, how can I get the time with the help of a command.

Note- Do I need to use modelunittime(CURRENT_TIME)?

Regards,

Arun KR

FlexSim 16.1.0
timecommandsmodel timeclockgetmodelunit
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

Adrian Haws avatar image
3 Likes"
Adrian Haws answered Arun Kr commented

There are a couple commands you can use to do this. The first shows the time in HH:MM:SS, along with the date:

getmodelunit(CURRENT_TIME_STR)

The second shows FlexSim time (file time in seconds):

getmodelunit(CURRENT_TIME)
· 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.

Arun Kr avatar image Arun Kr commented ·

Dear Adrian ,

Thanks for the reply.

Regards,

Arun KR

0 Likes 0 ·