Project

General

Profile

Actions

Support Request #10328

closed

Stop Harddisk Recorder (triggered recording, file based)

Added by hidden about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
DAIMLER
Department:
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::Recorder
FAQ Links:

Description

Supportanfrage

could you please tell me if and how it is possible in C(++) to stop a triggered recording that is already active, I mean we want to have the opportunity to skip or stop capturing the follow-up-time - this is the use case. Is it always possible to send EC_StopRecording to do that or is there any limitation we have to be aware of?

I use the English language because I want to forward this to a colleague, so please respond in English as well, thank you so much.

Lösung

EC_StopRecording is the Event which tells the Recorder to stop the actual recording.
ADTF itself works the same way, each click the stop button or the key event.
The only limitation regarding recording mode is linked to splitting, see Usermanual (chapter 6.1.1 Harddisk Recorder - Modes of Operation)

"File Based Queue" mode is just a special case of the "File Based Continuous" mode where a start event also triggers a simultaneous stop event, essentially eliminating the continuous part of the recording

The follow-time timeout is triggered by the stop recording event, thus you receive the “Stop Recording received but already stopping!” message.

So unfortunately, no there is no possibility to cancel the recording before the follow-timeout has expired.

The get your desired behavior switch to the File Based Continuous mode with no follow time, and send the stop event at the instant you want to stop the recording. In this case you always need to send a stop event manually, but you have complete control over the timeout.

the behavior is exactly the same in ADTF3. If you want a variable follow time, it's best to control it yourself. It's hard for us to handle specific stop-conditions in a common manner, so the option to not use the built-in follow timer is what we will advise also for ADTF3.

Actions

Also available in: Atom PDF