caput tool won't write to mbbo w/o state strings

Bug #650000 reported by Ralph Lange on 2010-09-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ralph Lange

Bug Description

Observed by Heinz Junkes <>:

If a mbbo record only defines the state values, but no state strings, the caput command line utility is not able to write to the record's value.

While this configuration is certainly unusual, it is legal, and caput should be able to write to such records.

Background: caput first reads the ENUM choice set from the record. It exits with an error message if the string set point is not found in the choice set, or if the numerical index set point is larger than the number of choices. While the string behaviour seems reasonable, the numerical put should just print a warning and still write the value to allow writing to such records.

Ralph Lange (ralph-lange) wrote :

Here's the fix that will be applied to base.

Ralph Lange (ralph-lange) wrote :

Fix committed as revision 12122.

Changed in epics-base:
status: New → Fix Committed
Andrew Johnson (anj) on 2010-11-24
Changed in epics-base:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers