RemoteVariable.retryCount: error message reporting wrong number of retries

XMLWordPrintable

    • Type: Bug
    • Resolution: resolved
    • Priority: Trivial
    • Component/s: None
    • None

      Using rogue v6.0.0:

      I have this remote variable with the retryCount=3

              self.add(pr.RemoteVariable(
                  name         = 'Identifier',
                  description  = 'Type of serial transceiver',
                  offset       = (0 << 2),
                  bitSize      = 5,
                  mode         = 'RO',
                  enum         = transceivers.IdentifierDict,
                  retryCount   = 3,  # LOOK HERE
              )) 

       

      The remote device not connected.  So it will hit the max. number of retries.  But it is reporting "4 out of 4" instead of "3 out of 3" in the error message

      1752601837.744637:pyrogue.memory.block.pciServer.AxiPcieCore.Qsfp[1].Identifier: Error on try 4 out of 4: Block::checkTransaction: General Error: Transaction error for block pciServer.AxiPcieCore.Qsfp[1].Identifier with address 0x0f100000. Error AXIL tranaction failed with RESP: 10 

              Assignee:
              Unassigned
              Reporter:
              Larry Ruckman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: