|
CanEasy COM-Help
|
Inherits IDispatch.
Record allows to access recorded frames
Definition at line 6205 of file cand_tlb.idl.
| HRESULT CanEasy::IRecord::AnalyzeRecord | ( | BSTR | sourceFile, |
| BSTR | destinationFile, | ||
| int | outputType, | ||
| int | delta | ||
| ) |
Starts different analyze functions
| sourceFile | Record file (celog) to read |
| destinationFile | Output file to write |
| outputType | Analyse type 0 = CYLCETIME_CSV, 1 = MARKER_REC, 2 = VAR_REC, 3 = PROTOCOLS |
| delta | Delta percentage to detect timeouts |
| HRESULT CanEasy::IRecord::CreateFilter | ( | [in] enum RecordEntryType | enEntryType, |
| [out, retval] IRecordFilter ** | |||
| ) |
Creates a filter for a record type
| enEntryType | Record entry type you want to filter |
| HRESULT CanEasy::IRecord::CreateItemFilter | ( | [in] IDatabaseItem * | pItem, |
| [out, retval] IRecordFilter ** | |||
| ) |
Creates a filter for database items
| pItem | DatabaseItem you want to filter |
| HRESULT CanEasy::IRecord::CreateIterator | ( | [in] IRecordFilter * | pFilter, |
| [out, retval] IRecordIterator ** | |||
| ) |
Creates an iterator
| pFilter | Filter (for example created with CreateFilter) |
| HRESULT CanEasy::IRecord::CreateMarker | ( | ) |
Inserts a marker record entry
| HRESULT CanEasy::IRecord::CreateMsgIdFilter | ( | [in] IBus * | iBus, |
| [in] long | nMsgID, | ||
| [out, retval] IRecordFilter ** | |||
| ) |
Creates a filter for messages
| iBus | Pointer to bus to filter |
| nMsgID | Message identifier to filter |
| HRESULT CanEasy::IRecord::CreateRecordChannel | ( | [out, retval] IRecordChannel ** | ) |
Creates a new record channel.
A record channel allows writing own data into the CanEasy record. It must be created before the simulation is started.
| HRESULT CanEasy::IRecord::CreateStringTypeFilter | ( | [in] BSTR | sType, |
| [out, retval] IRecordFilter ** | |||
| ) |
Creates a filter by string type of the record entry
| sType | String type of record entry (see xmllog) |
| HRESULT CanEasy::IRecord::Load | ( | [in] BSTR | sFile | ) |
Loads a record (not possible while simulation is running)
| sFile | File to load |
| HRESULT CanEasy::IRecord::Restart | ( | ) |
Restarts the record. Creates a new record folder
| HRESULT CanEasy::IRecord::Save | ( | BSTR | sFile | ) |
Save the record into a new file
| sFile | File to save to |
| HRESULT CanEasy::IRecord::SaveFiltered | ( | BSTR | sFile, |
| [in] IRecordIterator * | pIterator | ||
| ) |
Saves a new record using the passed iterator as filter
| sFile | File to save to |
| pIterator | Iterator to process the record |
| HRESULT CanEasy::IRecord::SavePart | ( | [in] VARIANT_BOOL | async, |
| [in] BSTR | sDirectory, | ||
| [in] int | seconds, | ||
| [in] BSTR | sFileName | ||
| ) |
Saves last seconds from the record
| async | If True function will return directly. If False it will wait till save finished. |
| sDirectory | Directory to save recording |
| seconds | Define how many seconds from the ends have to be stored |
| sFileName | File name without directory |
| HRESULT CanEasy::IRecord::SaveRange | ( | [in] VARIANT_BOOL | async, |
| [in] BSTR | sDirectory, | ||
| [in] BSTR | sFileName, | ||
| [in] double | fromTS, | ||
| [in] double | toTS | ||
| ) |
Saves the record between two timestamps
| async | If True function will return directly. If False it will wait till save finished. |
| sDirectory | Directory to save recording |
| sFileName | File name without directory |
| fromTS | Timestamp from which exports starts [in seconds] |
| toTS | Timestamp when exports stops [in seconds] |
| HRESULT CanEasy::IRecord::ShowMethodInExplorer | ( | ) |
Opens the record path in the Windows Explorer
| HRESULT CanEasy::IRecord::Start | ( | ) |
Start the recording
| HRESULT CanEasy::IRecord::Stop | ( | ) |
Stops the recording
| HRESULT CanEasy::IRecord::Unload | ( | ) |
Unloads a record
| HRESULT CanEasy::IRecord::WriteTrace | ( | [in] double | timestamp, |
| [in] long | identifier, | ||
| [in] VARIANT | byteArray, | ||
| [in] long | length, | ||
| [out, retval] VARIANT_BOOL * | |||
| ) |
Writes a trace record entry into the record
| timestamp | Timestamp in hours |
| identifier | Unique ID (see attribute Identifier) |
| byteArray | Trace data to write |
| length | Byte length of trace data |
|
getset |
Activates/Deactivates the autostart.
If autostart is active the record is started together with the simulation
|
getset |
Activates/Deactivates record change events
|
getset |
Activates/Deactivate events called on writing into the record