DynamicTraceLoaderRemote.LoadFromFile (METH)

METHOD LoadFromFile : RTS_IEC_RESULT

Load a trace from a file. Before this method can be called the method InitializeLocal has to be called. Return codes:

  • ERR_ENTRIES_REMAINING if an additional call to this method is required in order to process the loading.

    (only in the datasource case)

  • ERR_NOT_SUPPORTED if the CmpTraceMgr library is too old.

  • ERR_DS_INVALID_PATH if at least one variable of the trace packet configuration is unknown

    (also for the non-datasource case)

  • ERR_OUT_OF_LIMITS if the array passed to the Initialize* method is not large enough to hold

    all the records from the file

InOut:

Scope

Name

Type

Comment

Return

LoadFromFile

RTS_IEC_RESULT

Input

psFilename

POINTER TO STRING

Points to the name of the file to load