remote variable bug when using "value != None" during variable creation

XMLWordPrintable

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

      I am using the RemoteVariable's value when during the _init_() to make the default XRFDC_FAILURE.  If I try to do a read on the variable, it never changes from the default.  If I comment out the "value", then it works again.  I am using rogue v6.5.0

              self.addRemoteVariables(
                  name         = 'CheckDacTileEnabled',
                  description  = 'This API checks whether RF-DAC tile is enabled or disabled',
                  offset       = 0x10060,
                  bitSize      = 1,
                  mode         = 'RO',
                  number       = 4,
                  stride       = 4,
                  enum         = {
                  {
                      0x0 : "XRFDC_SUCCESS", #define XRFDC_SUCCESS 0U
                      0x1 : "XRFDC_FAILURE", #define XRFDC_FAILURE 1U
                  },
                  value        = 1, # default to XRFDC_FAILURE
                  # hidden       = True,
              )
       

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

                Created:
                Updated:
                Resolved: