writer: explicit status instead of relying on end_time
Currently we rely on the existence of the dataset end_time
to know whether the writing of a scan is completed:
/2.1/end_time = "..."
In this MR we add an explicit writer status
/2.1/writer
/2.1/writer@NX_class = "NXnote"
/2.1/writer/status = "SUCCEEDED"
/2.1/end_time = "..."
The status can be
-
RUNNING
: not finished writing -
SUCCEEDED
: finished writing without errors -
FAILED
: finished writing with errors
Edited by Wout De Nolf