Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Uživatelský manuál Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 97
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
61
Chapter 16: Information Functions
16.1 GetTraceName()
This function returns the filename of the trace file being processed by VSE.
If the script is being run over a multi-segmented trace, this function returns the path to the
current 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 the filename.
Example
ReportText( "Trace name : " + GetTraceName() );
File = OpenFile( "C:\\My Files\\" + GetTraceName(1) + "_log.log" );
# For trace file with path - D:\Some SAS Traces\Data.sas
# GetTraceName(1) will return "D_Some SAS Traces_Data.sas"
16.2 GetScriptName()
This function returns the name of the verification script where this function is called.
Format : GetScriptName()
Example
ReportText( "Current script : " + GetScriptName() );
16.3 GetApplicationFolder()
This function returns the full path of the folder where the SASSuite/SATASuite application was
started.
Format : GetApplicationFolder()
Example
ReportText( "SASTracer folder : " + GetApplicationFolder () );
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 96 97

Komentáře k této Příručce

Žádné komentáře