@JeanLucPons, I'm trying to manually configure rf plant for our digital twin. Currently, this is not possible.
- type: pyaml.rf.rf_plant
name: RF
masterclock:
type: tango.pyaml.attribute
attribute: simulator/ringsimulator/ringsimulator/RfFrequency
unit: Hz
I did a dirty solution in my local branch in control.controlsystem and in lattice.simulator:
if e._cfg.transmitters:
for t in e._cfg.transmitters:
voltage = RWRFVoltageScalar(t)
phase = RWRFPhaseScalar(t)
nt = t.attach(self,voltage,phase)
self.add_rf_transnmitter(nt)
attachedTrans.append(nt)
I'm not entirely sure this is needed for pyAML to define only the masterclock. But for tests this is very useful to not define the whole rf plant.
@JeanLucPons, I'm trying to manually configure rf plant for our digital twin. Currently, this is not possible.
I did a dirty solution in my local branch in control.controlsystem and in lattice.simulator:
I'm not entirely sure this is needed for pyAML to define only the masterclock. But for tests this is very useful to not define the whole rf plant.