ExperimentModule / sharing environment properties held in manager
ExperimentManager
should hold environment properties valid for the whole experiment.
The ExperimentModule
should be able to:
- Register (add) and access (read/write) environment variables held in the
ExperimentManager
for communication with otherExperimentModule
s or devices, - Share devices, i.e. devices are not instantiated in these modules but rather linked from the manager such that a device can be used in multiple modules at once,
- Link to the manager, i.e. if the manager is started or finished, the module's functions
run()
andfinish()
are called too (otherwise theExperimentModule
does not know about these actions or always has to queryExperimentManager.status
)
Edited by Ghost User