Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Gerritjan1
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Gerritjan1

    @Gerritjan1

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Gerritjan1 Follow

    Latest posts made by Gerritjan1

    • measuring relative quadrature encoder movement.

      Hello,

      I think I am missing something. On the monarco HAT you can use the MNR_CNT1Q input that will increase/decrease the counter value based on the amount of rotation of the encoder.
      I want to know the relative amount of movement the encoder made in a task cycle. For that I used the DIF_ block as in the attached picture: Encoder.png

      The issue is that that the counter outputs unsigned int and will underflow to 2^16-1 when moved below 0. This creates weird behavior. Is there a different block that solves the behavior?

      posted in REXYGEN Studio
      G
      Gerritjan1