Project

General

Profile

Actions

Support Request #3894

closed

Change filename of recorded DAT file

Added by hidden over 5 years ago. Updated over 5 years ago.

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

Description

Supportanfrage

Wie in einem früheren Ticket bereits besprochen starte ich ein Recording mit folgendem Snippet:

      //this example is for using within a filter
      tADTFMediaDescriptor sDesc;
      strcpy(sDesc.strFilename, "/data/files/newfile.dat");
      strcpy(sDesc.strShortDesc, "short description");
      strcpy(sDesc.strLongDesc, "long description");
      tEventInfo sEventInfo;
      memset(&sEventInfo, 0, sizeof(tEventInfo));
      sEventInfo.pSource       = static_cast<IObject*> (static_cast<IFilter*> (this));
      sEventInfo.i32EventClass = adtf::IEvent::CLASS_APPLICATION;
      sEventInfo.i32EventCode  = adtf::IEvent::EC_StartRecording;
      sEventInfo.i32Param1     = 0;
      sEventInfo.i32Param2     = 0; //RecorderEventID -> the recorder id which is set in the recorder filter
      sEventInfo.pvData        = (tVoid*)&sDesc;
      sEventInfo.szDataLength  = sizeof(sDesc);
      _kernel->SignalSend(&sEventInfo);

Gibt es die Möglichkeit den Dateinamen des Dat-Files erst bei einem Stop/Split Event zu setzen
oder muss ich hier mit Boardmitteln die Datei manuell umbenennen?

Lösung

Siehe Harddisk Recorder - Events received and emitted, ganz unten Change filename of the recorded file

Actions #1

Updated by hidden over 5 years ago

  • Project changed from Public Support to 11
  • Status changed from New to In Progress
  • Topic set to ADTF::Recorder
Actions #2

Updated by hidden over 5 years ago

  • Status changed from In Progress to Customer Feedback Required

Hi Anian,

siehe Harddisk Recorder - Events received and emitted, ganz unten Change filename of the recorded file

Actions #3

Updated by hidden over 5 years ago

:D ok - wer lesen kann....
Danke

Actions #4

Updated by hidden over 5 years ago

  • Project changed from 11 to Public Support
  • Subject changed from Recording über Event - Vergabe von Filename to Change filename of recorded DAT file
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Resolution set to Solved Issue
Actions #5

Updated by hidden over 5 years ago

  • Status changed from To Be Closed to Closed
  • Private changed from Yes to No
Actions

Also available in: Atom PDF