Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Bedienungsanleitung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 64
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
Verification Script Engine Reference Manual
41
20 Information functions
20.1 GetTraceName()
This function returns the filename of the trace file being processed by VSE.
If the script is being run over multi-segmented trace this function will return the path to the
segment being processed.
Format : GetTraceName( filepath_compatible )
Parameters:
filepath_compatible - if this parameter is present and not equal to 0 the returned value may be
used as part of filename.
Example:
ReportText( “Trace name : ” + GetTraceName() );
File = OpenFile( "C:\\My Files\\" + GetTraceName(1) + "_log.log" );
# For trace file with path - D:\Some FC Traces\Data.fct
# GetTraceName(1) will return "D_Some FC Traces_Data.fct"
20.2 GetScriptName()
This function returns the name of the verification script where this function is called.
Format : GetScriptName()
Example:
ReportText( “Current script : ” + GetScriptName() );
20.3 GetApplicationFolder()
This function returns the full path to the folder where the SierraFC Protocol Suite application
was started.
Format : GetApplicationFolder()
Example:
ReportText( “SierraFC Protocol Suite folder : ” + GetApplicationFolder () );
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 63 64

Kommentare zu diesen Handbüchern

Keine Kommentare