Setting system time on a TS.... with lua?

how does one set the system time & date in a TS?

Is there a module to do it?  I dont see any ability to set the system time win lua, only read it - no time.Set_current_time() function.

Thanks

Bruce

Parents
  • Depending on what you are trying to achieve it would be possible to write a script which you enter a offset to real time.

    So having a timed event which runs every 5 minutes and gets the real time then checks what your offset should be and then if it matches one of your programmed times which will need to be stored in lua table then you can do an action.

    Its a load of lua and if timed events want to be changes it will require edits to the lua to be done.

    What is the application for this, the only time i have know to need to edit times on the fly would be a curse ship which moves between time zones??

  • What about dealing with a drifing clock?  I guess I haven't played with Mosaic enough to know for sure, but I know that Paradigm clocks often will drift off by a few mins a year.  This is an independent processor with no time server access.

  • Mosaic has the ability to connect to an external NTP server to sync time if time drift is a concern. 

  • SO a few things here.

    • The drift here is minimal compared to Paradigm
    • You can set it up to have time server access, We do this shipboard A LOT :-)
    • You can change it at the webui which essentially is the customer interface

    I completely understand your concerns, but the number of customer reports of incorrect time or drift has been minimal.  This doesn't mean that it has not happened, but not often enough that you need a direct customer-facing tool on the touchscreen. 

  • Its an independent system, so time server access.

    I will trust you about the clock's stability...but if the Elfs start singing and dancing out of hours...I know who to blame.

    As always, thank you

    BK

Reply Children
No Data
Related