Open jonnew opened 10 months ago
Revisiting this, I don't know why i would expect these properties to be available via the Externalize Property
function. However, the point stands that it would be useful to be able log read-only hardware information in some way.
Some ONI device registers are used to inform the user about the state of the hardware, and are useful metadata. They should probably be log-able in some way. It would be nice if they could be exposed via Externalize Property in the workflow editor and saved in a text file, for instance. Here is an example of some read-only registers in
ConfigureTest0
which targets the Test0 ONIX device (https://open-ephys.github.io/onix-docs/Hardware%20Guide/Datasheets/test-0.html).However, in the workflow, their values appear as default initialized through the UI (0 in this case) and they are not exposable though the
Expose Property
functionality.The first is fine because they are updated during the call to
Process
when the workflow is started and seems to be a necessary consequence of the new architecture. However, I think that we should be able to see them at runtime for logging. Maybe I'm missing an obvious way to do this e.g. by changing their accessibility level or via an attribute.