About Analyzer Events

OnSystemEvent


Description

Triggered by a system event. See a list of System Events, also known as general events.

See also EnableSourceUnleveledEvents Property

Note: Some Severe Events are also used as Error Messages

 VB Syntax

Sub app_OnSystemEvent(ByVal eventID As Variant)


Variable

(Type) - Description

app

An Application (object)

eventID

Code number of the event which occurred

chanNum

Channel Number of the event

Return Type

Not Applicable

Default

Not Applicable


Examples

Private Sub pna_OnSystemEvent(ByVal eventID As Variant)
MsgBox ("A System event has occured")
End Sub


C++ Syntax

HRESULT OnSystemEvent(VARIANT eventID)

Interface

IApplication

Selected System Events

2048 naEventID_OPTION_NOT_INSTALLED

2049 naEventID_FEATURE_NOT_AVAILABLE

2050 naEventID_FEATURE_NOT_VALID

2051 naEventID_SAVEFILE_OK

2063 naEventID_RECALLFILE_SUCCESS

2130 naEventID_PRINTER_TROUBLE

2133 naEventID_TRIGGERDENIED

2134 naEventID_MACRO_FAILED

2144 naEventID_NO_LICENSE

2163 naEventID_PRESET

2166 naEventID_TRIGGERFAILED

See Also

Errors and the SCPIStringParser Object