MQTT – period must be less than 65 seconds

Forum Home Forums Runtime Bugs Communicator Bugs MQTT – period must be less than 65 seconds

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17890
    WayneS
    Participant

    Greetings

    When I try and run a MQTT publisher it works 100% when the period is less then 65 seconds. When it is greater then 65 seconds I get errors when attempt to publish:

    Error:Index was outside the bounds of the array

    When the period is 2 minutes every second attempt to publish fails with the message above.

    Any suggestions on how to work around this.

    Ideally I would like to publish 5 topics at 5 minutes then 35 minutes etc..

    regards

    Wayne

    #17891
    Mikhail
    Moderator

    Hello,
    Please provide screenshots of driver settings and log files, containing the above error.

    #17893
    WayneS
    Participant

    Hello Mikhail.

    Screenshoots:



    https://ibb.co/qMbS10D1
    https://ibb.co/BH7wSg53
    https://ibb.co/M5KKjwwv

    One shows the driver settings, one is the log just after restarting while the last is the log sometime after starting showing errors.

    regards

    Wayne

    #17895
    Mikhail
    Moderator

    Hello,

    Thank you for the screenshots.
    I’ll check and write in this topic.

    #17903
    Mikhail
    Moderator

    Hello,
    Please try this update. Does it work?

    #17908
    WayneS
    Participant

    Hi Mikhail,

    I downloaded the update and copied the files into my “program files/SCADA” directory. I checked that the files had been replaced. I then uploaded the project and changed the publishing times. At 1 minute, it worked well. At 2 minutes, every second one failed.

    regards

    Wayne

    #17910
    Mikhail
    Moderator

    Hi,

    There was an invalid file path in that archive. Sorry.
    Move DrvMqttPublisher.Logic.dll from the ScadaComm directory to ScadaComm\Drv or use this archive.

    #17918
    WayneS
    Participant

    Hi Mikhail,

    Thanks, that’s working well now.

    regards

    Wayne

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