3 ivscriptengineevents::onnotifycount – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual
Page 87
LeCroy Corporation
Automation API for SAS/SATATracer/Trainer
Manual Version 1.11
87
9.1.3 IVScriptEngineEvents::OnNotifyCount
HRESULT OnNotifyCount (
[in] int eventId,
[in] VARIANT eventBody,
[in] int TAG )
Fired when running a verification script. Calls the 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 the NotifyClient() function inside of a verification script into a VARIANT
object and sends it to client applications.
See the SASTracer Verification Script Engine Manual for details about the
NotifyClient() script function.
Example
SASTracer Verification script:
ProcessEvent()
{
. . .
NotifyClient( 2, [in.Index, in.Level, GetChannelName(),
GetEventName(), TimeToText( in.Time )] );
. . .
}