Teledyne-lecroy SAS_SATA Automation API manual Manual de usuario Pagina 140

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 139
TeledyneLeCroy SASVScriptEngineObjectEvents
134 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
VBA (MS Excel):
Public WithEvents VSEEvents As VScriptEngine
. . .
Private Sub VSEEvents_OnNotifyClient( ByVal eventId As
Long,
ByVal eventBody As Variant,
ByVal Tag As Long )
Dim Col As Integer
Dim Item As Variant
ThisWorkbook.Sheets("Sheet1").Cells(LineIndex, 1) =
eventId
If IsArray(eventBody) Then
Col = 3
For Each Item In eventBody
ThisWorkbook.Sheets("Sheet1").Cells(LineIndex,
Col) = Item
Col = Col + 1
Next
Else
ThisWorkbook.Sheets("Sheet1").Cells(LineIndex, 2)
= eventBody
End If
LineIndex = LineIndex + 1
End Sub
Vista de pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 149 150

Comentarios a estos manuales

Sin comentarios