beautypg.com

3 _ivscriptengineevents::onnotifyclient, Ivscriptengineevents::onnotifyclient – Teledyne LeCroy UWBTracer Automation Manual User Manual

Page 74

background image

LeCroy

UWBTracer Automation API Reference Manual

Manual Version 3.02

70

6.1.3 _IVScriptEngineEvents::OnNotifyClient

[id(3)] HRESULT OnNotifyClient( [in] int eventId,

[in] VARIANT eventBody,
[in] int TAG );


Fired when running verification script calls NotifyClient() function.

Parameters

EventId

Event Id

eventBody

Body of event packed in a VARIANT object

TAG

VSE object's tag.

Return values


Remarks

The information packed in the event body is opaque for VSE – it only packs the information given

to NotifyClient() function inside of a verification script into a VARIANT object and sends it to client
applications.
(See LeCroy PSG UWB Verification Script Engine Manual for details about the NotifyClient() script
function.)

Example


LeCroy PSG UWB Verification script:

ProcessEvent()

{

. . .

NotifyClient( 2, [in.Index, in.Level, GetChannelName(), GetEventName(), TimeToText(
in.Time )] );
. . .
}