23 com/automation communication functions, 1 notifyclient(), Otify – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 53: Lient

Advertising
background image

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.

Advertising