gianguido

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: RapidSCADA on Linux/Ubuntu #2521
    gianguido
    Participant

    I use a plain text editor, gedit. My goal is to work with as simple tools as possible to map real-world parameters into RapidSCADA data structures. With the .dat tables it worked, I can now edit them via a spreadsheet application.

    in reply to: RapidSCADA on Linux/Ubuntu #2517
    gianguido
    Participant

    Thank you very much, Manjey73! I checked the .xml files you indicated and it looks indeed that they describe the configuration of the com channels. I shall test something with trial-and-error.

    Ref. Windows. I was an active and convinced user of MS products for 25 years. Not any more, with several reasons for that. The option to install Windows in any form, even on a virtual machine, is for me out of question. Better to edit the .xml files by hand)))

    in reply to: datetime storage format in .DAT #2486
    gianguido
    Participant

    Thank you, Mikhail!

    on the basis of your suggestions the following procedure with Python works.

    1. read the 8-Byte sequence
    2. use ‘struct.unpack’ to convert the binary string to double-precision float
    3. build a datetime.timedelta object
    4. add to datetime (1899,12,30)
    5. format the output string as wished with strftime()

    the datetime.timedelta function operates on the date and the time concurrently, no need to treat their values separately.

Viewing 3 posts - 1 through 3 (of 3 total)