Skip to content

Ca sdf enum fixes

Closes #197 (closed).

Update the EPICS sequencer for the CA_SDF build:

  • Make sure string setpoints are set for enum values
  • Update the disconnected channel count each cycle
  • Fix a function that did not return a value.

When setpoints are read in the CA_SDF build the string value of the setpoint is saved. Additional annotation is done to the internal tables to show if the string setpoint has been applied for enum types. At run time all string type values are checked to see if their setpoint has applied and if not get setpoint is copied over from the secondary copy. This ensures that no matter when a channel is resolved to be an enum it gets its setpoint value.

The disconnected channel list is updated each cycle now. I added a new variable to track the disconnected variable count, this is distinct from what was in there as the old value also updated the disconnected table. A distinct/new variable was used as the disconnected table is only updated when the disconnected table is selected.

Merge request reports

Loading