Hi Mary,
I think you may be confusing the enum index with the enum value in an mbbo record, for example. Are you skipping enum indices because you think the enum values need to
match the enum index? They do not.
Here is an example:
record(mbbo, "$(P)$(R)TriggerMode")
{
field(ZRST, "Internal")
field(ZRVL, "0")
field(ONST, "External")
field(ONVL, "1")
field(TWST, "External Start")
field(TWVL, "6")
field(THST, "External Exposure")
field(THVL, "7")
field(FRST, "External FVP")
field(FRVL, "9")
field(FVST, "Software")
field(FVVL, "10")
}
Note that the indices are consecutive (ZR-FV) but the values are not. This will display nicely in medm with no missing lines, but the correct value will be sent to the
driver.
Mark
I am a new user to MEDM, and I am wondering if it possible to tie a non-sequential list of enumeration values to a menu object? I have attempted to do this, however, for the enumeration values that are not in the record, the menu displays
a blank line for this values and we don’t want the blank lines.
Mary Newby