Ivscriptengineevents::onnotifycount – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 139
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
133
SASVScriptEngine Object Events
Teledyne LeCroy
IVScriptEngineEvents::OnNotifyCount
HRESULT OnNotifyCount (
[in] int eventId,
[in] VARIANT eventBody,
[in] int TAG )
Fires 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 tag
Return Value
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 )] );
. . .
}