The AddProgrammed converter adds the actually played to the CycleData object in the CycleData.current_prog after a cycle has started, and any dynamic or full economy modes can be ruled out. If an economy cycle is played, the field_prog field must be set to the economy mode program, so subsequent predictions are using the correct .

Trigger

Buffered:

  • CycleData from CalculateCorrection.

  • Programmed current, like MBI/IREF

  • Programmed field, like SPSBEAM/B

  • A trigger signal like rda3://UCAP-NODE-SPS-HYSTCOMP-TEST/XTIM.UCAP.SCY-CT-500/Acquisition Must be triggered after we know dynamic economy cannot kick in (normally after 275 ms after cycle start)

Logic

Buffers programs, which will be updated when trims are applied after CalculateCorrection, as well as the CycleData which is sure to be from the lastest prediction.

When triggered by the timing signal and the cycle is not in economy mode, the programmed current and field is added to the CycleData and emitted. If the cycle is in economy mode, the TrackDyneco and TrackFulleco converters will already have updated the programmed current, and this converter will only emit it.

Output

onNewCycleDataAvailable

A CycleData object with current_prog and field_prog attributes set to the actually played current.

The Prediction buffer subscribes to this signal to update the internal buffer.