Custom modbus driver

Forum Home Forums Development and Integration Custom modbus driver

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #17573
    oley
    Participant

    Hi,

    I have successfully created a driver that is an extension of DrvModbus. Unfortunately, the generated events do not appear in the web application or in the server log.
    I can see them in the device, e.g.

    Recent Events
    +---------------------+-----+-------------------------------------+
    | Timestamp           | Tag | Description                         |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:18:54 |     | ODWZB. WE 31                        |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:18:54 |     | POB. WE 18                          |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:18:54 |     | ZAMKNIĘCIE OPERACYJNE ŁĄCZNIKA 1 
    7 |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:21:45 |     | POB. WE 31                          |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:21:45 |     | ODWZB. WE 18                        |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:21:45 |     | OTWARCIE OPERACYJNE ŁĄCZNIKA 1 
    7   |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:22:07 |     | ODWZB. WE 31                        |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:22:07 |     | POB. WE 18                          |
    +---------------------+-----+-------------------------------------+
    | 18/01/2026 19:22:07 |     | ZAMKNIĘCIE OPERACYJNE ŁĄCZNIKA 1 
    7 |
    +---------------------+-----+-------------------------------------+

    The code I use to generate the event is:

    DeviceEvent devEvent = new DeviceEvent
    {
        Timestamp = eventUtcTime,
        CnlVal = code,
        CnlStat = CnlStatusID.Defined,
        Descr = descr
    };
    
    DeviceData.EnqueueEvent(devEvent);
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.