Teledyne-lecroy SAS_SATA Tracer_Trainer Automation API Manual Manual de usuario Pagina 85

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 84
LeCroy Corporation Automation API for SAS/SATATracer/Trainer Manual Version 1.11
85
9.1.1 IVScriptEngineEvents::OnVScriptReportUpdated
HRESULT OnVScriptReportUpdated (
[in] BSTR newline,
[in] int tag )
Fires when running a verification script. Calls the ReportText( newLine ) function (please
refer to the SASTracer Verification Script Engine Manual for details on the ReportText
function).
Parameters
newline New portion of text reported by the verification script
tag VSE object's tag
Return values
Remarks
Make sure that C++ event handlers have __stdcall calling convention.
Example
C++:
HRESULT __stdcall OnVScriptReportUpdated (BSTR newLine, int TAG )
{
TRACE( "Line: %s, TAG: %d\n", newLine, TAG );
. . .
return S_OK;
}
VBA (MS Excel):
Public WithEvents VSEEvents As VScriptEngine
Public LineIndex As Integer
. . .
Private Sub VSEEvents_OnVScriptReportUpdated(ByVal newLine As String,
ByVal Tag As Long)
ThisWorkbook.Sheets("Sheet1").Cells(LineIndex, 1) = newLine
LineIndex = LineIndex + 1
End Sub
Vista de pagina 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 93 94

Comentarios a estos manuales

Sin comentarios