Skip to content

Commit

Permalink
add enumerations to NXsensor/measurement and NXsource/mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Jan 7, 2025
1 parent 5a7fecb commit b975817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base_classes/NXsensor.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</group>
<field name="measurement">
<doc>name for measured signal</doc>
<enumeration>
<enumeration open="true">
<item value="temperature" />
<item value="pH" />
<item value="magnetic_field" />
Expand Down
3 changes: 1 addition & 2 deletions base_classes/NXsource.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,9 @@
</group>
<field name="mode">
<doc>source operating mode</doc>
<enumeration>
<enumeration open="true">
<item value="Single Bunch"><doc>for storage rings</doc></item>
<item value="Multi Bunch"><doc>for storage rings</doc></item>
<!-- other sources could add to this -->
</enumeration>
</field>
<field name="top_up" type="NX_BOOLEAN">
Expand Down

0 comments on commit b975817

Please sign in to comment.