DiamondLightSource / tickit

Event-based hardware simulation framework
Apache License 2.0
6 stars 0 forks source link

Network Adapters for System Components #126

Closed abbiemery closed 1 year ago

abbiemery commented 1 year ago

Currently the adapters run against individual devices. In the future we are going to use system components to represent complex devices such as zebra. We must be able to make adapters that control these systems. Current thinking is a single adapter for the whole system component.

SlaveScheduler contains a list of components of the system and an internal ticker. These provide the infrastructure for getting the required information.

abbiemery commented 1 year ago

One possibility would be to make separate adapters for each device inside a system. This would not be practical because the zebra IOC can only talk to a single port. It would also probably lead to a lot of code duplication.

abbiemery commented 1 year ago

174 will provide the desired functionality.