Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This endpoint controls and reports the state of recording in Frenzel mode.

State

...

“start” - resets the recording file and starts a new recording

...

The state returned by a GET request represents the current state of the Frenzel mode. The state which is sent in PUT request triggers a state transition.

  • “run” - start the recording

    • valid in “reset”

    • transits to “run”

  • “stop” - stop the recording of values

    • valid in “run”

    • transits to “stop”

  • “reset” - reset any stored data and stop the recording if runningstored file and set Duration_done to 0

    • valid in “run” and “stop”

    • transits to “reset”

See Frenzel Mode for possible state transitions.

...

This integer value represents the requested duration in ms for the recording. It can be set in “reset” state only. The value must not exceed the number returned by GET frenzel_maximum_duration https://zeisberg.atlassian.net/wiki/spaces/DPET/pages/2311159810.

duration_done

This integer value represents the currently recorded duration of recording. The value is ignored in PUT requests but musst be contained in the struct.