sperate

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • in reply to: new csv file reder driver #14839
    sperate
    Participant

    Ok, I’ve managed to make the real-time mode work now.
    The problem was finally yhat I wasn’t adding new lines to the csv file but just modifying the last line.
    As you said, the time must be UTC and the added data timestap must match the current time within one second minute more or less ..

    Is it possible to get rid of this mathcing time constraint ?
    For example to have the last data and timestamp added to the file read by the driver but without having the timestamp matching the current time ?

    I’m also trying the demo mode with one hour period but struggling to make data appear.
    Could you tell me what is wrong in my csv file or provide a csv example file based on this simple format :

    Timestamp,TagA
    2024/07/02 10:00:00,2000
    2024/07/02 10:01:00,2000
    2024/07/02 10:02:00,2000
    2024/07/02 10:03:00,2000
    2024/07/02 10:04:00,2000

    String Tag data values doesn’t seem to be supported, aren’t them ?

    • This reply was modified 1 year, 3 months ago by sperate.
    in reply to: new csv file reder driver #14835
    sperate
    Participant

    Hi,
    I’ve tried with UTC time (-2h00 here in Fr.) but it didn’t worked either.

    Timestamp,Day/Night
    2024-07-02 08:00:00,Day
    ----------------------
    Driver       : DrvCsvReader 6.0.0.0
    Status       : Normal
    Session time : 02/07/2024 10:00:00
    Command time : Undefined
    
    Sessions (total / errors) : 2876 / 0
    Commands (total / errors) : 0 / 0
    Requests (total / errors) : 2876 / 0
    
    Current Data
    +---+-----------+-----------+-------+---------+
    | # | Code      | Name      | Value | Channel |
    +---+-----------+-----------+-------+---------+
    | **************** Main Data **************** |
    +---+-----------+-----------+-------+---------+
    | 1 | Tag1      | Day/Night |   --- |         |
    +---+-----------+-----------+-------+---------+
    | ************* Reading Status ************** |
    +---+-----------+-----------+-------+---------+
    | 2 | Timestamp | Timestamp |   --- |         |
    +---+-----------+-----------+-------+---------+
    | 3 | Position  | Position  |    46 |         |
    +---+-----------+-----------+-------+---------+
    
    in reply to: new csv file reder driver #14823
    sperate
    Participant

    Hi, communication with the site is back and working.
    I’ve made many tries in realTime mode but still no data read from teh .csv file.

    CSV file :

    Timestamp,Day/Night
    2024-07-01 10:16:00,Day
    2024-07-01 10:17:00,Day
    2024-07-01 10:18:00,Day
    2024-07-01 10:19:00,Day
    2024-07-01 10:20:00,Day

    Log file :

    [3] Ephemerides Soleil
    ----------------------
    Driver       : DrvCsvReader 6.0.0.0
    Status       : Normal
    Session time : 01/07/2024 10:17:00
    Command time : Undefined
    
    Sessions (total / errors) : 30 / 0
    Commands (total / errors) : 0 / 0
    Requests (total / errors) : 30 / 0
    
    Current Data
    +---+-----------+-----------+-------+---------+
    | # | Code      | Name      | Value | Channel |
    +---+-----------+-----------+-------+---------+
    | **************** Main Data **************** |
    +---+-----------+-----------+-------+---------+
    | 1 | Tag1      | Day/Night |   --- |         |
    +---+-----------+-----------+-------+---------+
    | ************* Reading Status ************** |
    +---+-----------+-----------+-------+---------+
    | 2 | Timestamp | Timestamp |   --- |         |
    +---+-----------+-----------+-------+---------+
    | 3 | Position  | Position  |   144 |         |
    +---+-----------+-----------+-------+---------+

    As you can see in the csv file i’m trying to have data on the same timestamp as the read session and even data that anticipates the next read sessions.

    Do you think there may be a problem with the timestamp format ?
    I’ve used the same format as the one in the file from the git repo.

    in reply to: new csv file reder driver #14705
    sperate
    Participant

    We’ve lost communication with the distant computer but I’ll try as soon as we get communication back to work 😉 Thanks !

    in reply to: new csv file reder driver #14622
    sperate
    Participant

    In Demo mode the driver reads data from the CSV file repeatedly

    How is it done on a file like this one for ex. ?

    
    Timestamp,           TagA
    2024/06/04 09:00:00, 10
    2024/06/04 09:01:00, 11
    2024/06/04 09:02:00, 12
    2024/06/04 09:03:00, 13

    What data is read repeatedly for TagA in Demo mode ?

    • This reply was modified 1 year, 4 months ago by sperate.
    in reply to: new csv file reder driver #14590
    sperate
    Participant

    I’ve tried that in Demo mode and one month demo period :

    Timestamp,TagA,TagB,TagC
    2024-05-31 10:00:00,1.1,31,0
    2024-05-31 11:00:00,1.1,31,0

    But the result is always the same, and tag values in the log table are empty (—) :

    2024-05-31 15:38:44 Session with the device [3]
    No new data available
    
    2024-05-31 15:38:49 Session with the device [3]
    No new data available
    
    2024-05-31 15:38:54 Session with the device [3]
    No new data available
    in reply to: new csv file reder driver #14589
    sperate
    Participant

    Real time mode : what about the seconds in the current timestamp ? Do they need to match exactly ?

    I don’t know wich mode is the best for me.

    I just want to read one value for each tag. This value would be updated with a script. I think it’s real time usage but I don’t want to depend on the timestamp, or at least have a little margin.

    In Demo mode the values of the tags are updated at each read cycle on the last hour/day/month. Is that correct ?

    In this case I should use the Demo (monthly) mode with one single data line having a tiemstamp within last month for ex. ?

    in reply to: Error while trying to add an OPC Classic device #14393
    sperate
    Participant

    Connection OK !!!

    Very hard to deal with those OPC Classic servers

    in reply to: Error while trying to add an OPC Classic device #14384
    sperate
    Participant

    Not yet as the server is not available right now but it should be ok with the tunneller.
    I can see now the local instance of the OPC server created by the tunneler but I can’t connect to it to add tags because the server is not reachable.

    I’ll keep you up to date.

    • This reply was modified 1 year, 6 months ago by sperate.
    in reply to: Error while trying to add an OPC Classic device #14377
    sperate
    Participant

    Many thanks for your answers and the browseOPC software !
    I was already using MatrikonOPC but Matrikon is asking for the server name in order to try to connect. As I don’t have the credentials and I am not allowed to access to the server, the administrator will provide me a sort of tunneler that will deal with all this DCOM/Windows credentials stuff and create a local instance of the OPC Server on the Client side (where RapidSCADA is installed).

    in reply to: Error while trying to add an OPC Classic device #14368
    sperate
    Participant

    I don’t have rights/acces to the machine on witch the OPC server is installed.

    OPC Core Components is installed on the client side (RapidSCADA) => OK

    Also, you should configure access rights in DCOM settings, which can work unpredictable. On server or client side ?

    Many thanks !

    in reply to: Error while trying to add an OPC Classic device #14333
    sperate
    Participant

    Is ther some place in the configuration to specify the TCP port used by the OPC DA server ? Does the OPC Classic driver need this kind of information ?

    Regards

    in reply to: OPC DA to UA Gateway #13754
    sperate
    Participant

    Hi,
    Is it possible to have more than one OPC UA Server running in data sources ?
    It seems that it is not :

    2023-11-30 16:51:21 [HP-DH3][HP-DH3$][ACT] Start communication lines
    2023-11-30 16:51:22 [HP-DH3][HP-DH3$][ERR] Error calling the Start method of the opc2 data source:
    System.AggregateException: One or more errors occurred. (Failed to establish tcp listener sockets for Ipv4 and IPv6.)
     ---> Opc.Ua.ServiceResultException: Failed to establish tcp listener sockets for Ipv4 and IPv6.
       at Opc.Ua.Bindings.TcpTransportListener.Start()
    in reply to: OPC DA (Classic) on RPI #13051
    sperate
    Participant

    However, I’ve learned that is it possible to install windows 10 for ARM on RPI nowadays !
    https://worproject.com/

    in reply to: OPC UA Server #13050
    sperate
    Participant

    Ok, thank you very much !! Now it works !!

    I’ve moved the logs on a RAM Disk as explained on your install. process documentation.
    But what is the standard place to get the logs if they are not on the RAM Disk ?

Viewing 15 posts - 16 through 30 (of 31 total)