About Analyzer Events

OnSCPIEvent


Description

Triggered by a SCPI event.

Note: Some Severe Events are also used as Error Messages

 VB Syntax

Sub app_OnSCPIEvent(ByVal eventID As Variant)


Variable

(Type) - Description

app

An Application (object)

eventID

Code number of the event which occurred

Return Type

Not Applicable

Default

Not Applicable


Examples

Private Sub pna_OnSCPIEvent(ByVal eventID As Variant)
MsgBox ("A SCPI event has occured")
End Sub


C++ Syntax

HRESULT OnSCPIEvent(VARIANT eventID )

Interface

IApplication

Selected SCPI Parser Events

1281 naEventID_NOTHING_TO_SAY

1284 naEventID_SCPI_STATUS_BYTE_CHANGE

1360 naEventID_BAD_SCPI_EXECUTE

1375 naEventID_CALC_MEASUREMENT_SET_TO_NONE

See Also

Errors and the SCPIStringParser Object