Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manual de usuario Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 97
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 () );
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 96 97

Comentarios a estos manuales

Sin comentarios