• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Reset DI Input Counter

    Scheduled Pinned Locked Moved Evok API
    2 Posts 2 Posters 1.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • roberts_landoR
      roberts_lando
      last edited by

      Is there a way to reset inputs counter? I have tried with:

      wget -qO- http://localhost/rest/input/1_01 --post-data='counter=1'
      

      But it returns:

      {"errors":  {"__all__": "Input instance has no attribute '_regcounter'"}, 
      "success": false}
      

      Any suggestions? Does the counter restart from 0 once it reach the max number rappresentation? Thanks.

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @roberts_lando
        last edited by

        @roberts_lando Support for Neurons is limited only to set the outputs and read inputs. Setting counter is not possible using Evok but if you want, you can use the TCP Modbus interface for that.

        Yes, once the maximum number of counter is reached it is reset to 0.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post