Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manual de usuario Pagina 53

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 52
Verification Script Engine Reference Manual
48
23 COM/Automation communication functions
This group of functions covers VSE capabilities to communicate with COM/Automation clients
connected to SierraFC Protocol Suite application. ( Please refer to SierraFC Protocol Suite
Automation manual for the details how to connect to SierraFC Protocol Suite application and VSE )
23.1 NotifyClient()
This function allows to send information to COM/Automation client applications in custom
format. The client application will receive a VARIANT object which it is supposed to parse.
Format : NotifyClient( param_list )
Parameters:
param_list - the list of parameters to be sent to the client application. Each parameter might be
an integer, string or list.
( See CSL manual for details about data types available in CSL ).
Because of the list itself may contain integers, strings or other lists it is
possible
to send a complicated messages.
( lists should be treated as arrays of VARIANTs )
Example:
if( SomeCondition() )
{
NotifyClient( 2, [ in.Index, in.Level, “CHANNEL 2”, “FCP sequence”,
TimeToText( in.Time )] );
}
# Here we sent 2 parameters to clients applications :
# 2 ( integer ),
# [ in.Index, in.Level, “CHANNEL 2”, “FCP sequence”, TimeToText( in.Time )] ( list )
Remark:
See an example of handling this notification by client applications and parsing code in the FC
Automation document.
Vista de pagina 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 63 64

Comentarios a estos manuales

Sin comentarios