new csv file reder driver

Forum Home Forums Communicating with Devices new csv file reder driver

Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • #16184
    quintelosky
    Participant

    Ok, I can read in demo mode, but I don’t understand

    I can’t put the Timestamp (only 2001-01-01).

    I have a meter in a water depot. A program, only one time per day, send the data like this:
    2025-02-20 00:57:00,1.54
    2025-02-20 00:58:00,1.33
    2025-02-20 00:59:00,1.12
    2025-02-20 01:00:00,1.23
    2025-02-20 01:01:00,1.45
    2025-02-20 01:01:00,1.67
    2025-02-20 01:02:00,1.88
    2025-02-20 01:03:00,1.93
    2025-02-20 01:04:00,2.01
    2025-02-20 01:05:00,2.08

    If I can’t read timestamp, how I can send to postgre the data with the time? I want read the first line, upload the data to the database with the time, second line, …

    I am very confused. I think the scada can’t do it

    Other option is create a program to do that

    #16185
    manjey73
    Participant

    The timestamp in the csv file must correspond to UTC time so that the driver accepts this data as new and places the value in the channel.
    Next, ModDbExport, seeing the channel change, should send the data to the database.
    If I understand this mechanism correctly.

    #16186
    quintelosky
    Participant

    Finally I created a program csv2postgres.exe to upload the data with timestamp because I don’t know with scada

Viewing 3 posts - 31 through 33 (of 33 total)
  • You must be logged in to reply to this topic.