Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-34567

The new type attribute of Enumeration does not work for ATWhiteLight

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_middleware
    • Labels:
    • Story Points:
      0.5
    • Sprint:
      TSSW Sprint - Apr 25 - May 09
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      The fix in DM-34005 does not work for me, in the one case I tried (the case that lead to filing that ticket).

      If you look at DM-34557 and https://github.com/lsst-ts/ts_xml/pull/576 you can see that I used

        <Enumeration type="unsigned int">
          ChillerL22Alarms_EXTERNAL_RTD_SENSOR_OPEN = 0x1,
          ...
          ChillerL22Alarms_FRONT_LEFT_FAN_OPEN = 0x40000000,
          ChillerL22Alarms_FRONT_RIGHT_FAN_OPEN = 0x80000000
        </Enumeration>
      

      in ATWhiteLight_Events.xml. ts_sal builds this, but the resulting IDL file uses type "long" for all of the values for that enumeration, rather than "unsigned int". This is using ts_sal develop 5bd54f8b dated April 6, 2002.

        Attachments

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              Assignee:
              dmills Dave Mills
              Reporter:
              rowen Russell Owen
              Reviewers:
              Rob Bovill
              Watchers:
              Dave Mills, Rob Bovill, Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.