v6, timezone issue

Forum Home Forums Uncategorized Issues v6, timezone issue

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11416
    zzz
    Participant

    The server’s RTC use UTC time, but my operation system use locale time with timezone set to local timezone.

    It seems that rapidscada is using UTC time to store data (file archive’s file name show latest file with yesterday date which is clearly in UTC time).
    Is there anyway to set it to use local time, instead of UTC time. ?

    #11426
    Mikhail
    Moderator

    It seems that rapidscada is using UTC time to store data

    That’s right. Timestamps converted to local time only in the web application.
    Log files uses the server’s time zone, however, it does not affect the logic.

    #11427
    Mikhail
    Moderator

    If you use PostgreSQL archives, pgAdmin converts selected data to local to make it handy for a user.

    #11433
    zzz
    Participant

    Agh, timezone in postgres, that’s another can of worm.
    Maybe I just try leave it current way. Thanks.
    The file archive’s behavior in v6 is new compared to v5, right? (It’s ok, I just should have realize I am looking at a v6, not v5 archive.)

    I have another question. I have a python script to partially replicate what you did with ScadaData.dll in v5 (only archive parsing, current/archive cnldata receiving and command send). With cython the performance is finally on par with the .net dll. But I am having checksum error with a small number of archives.

    Polling the archive used to be easy – acquiring the .dat file and parse it, only grab the records of the time in range. The the archive disk file layout on v6 seems more fragmented and confusing.
    I don’t think I saw any scadadata.dll in v6, is there any equivalent code in v6 or a TCP interface document available?

    Regards

    #11444
    Mikhail
    Moderator

    ScadaCommon.dll is a new name for ScadaData.dll
    You can find new file formats here.

    #11452
    zzz
    Participant

    Thank you. I grabbed the docs. Will give a closer look tomorrow.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.