About Analyzer Events

OnMeasurementEvent


Description

Triggered by a measurement event.

 VB Syntax

Sub app_OnMeasurementEvent(ByVal eventID As Variant, ByVal measNum As Variant)


Variable

(Type) - Description

app

An Application (object)

eventID

Code number of the event which occurred

measNum

Measurement Number of the event

Return Type

Not Applicable

Default

Not Applicable


Examples

Private Sub pna_OnMeasurementEvent(ByVal eventID As Variant, ByVal measurementNumber As Variant)

MsgBox ("A Measurement event has occured")

End Sub


C++ Syntax

HRESULT OnMeasurementEvent(VARIANT eventID, VARIANT measurementNumber)

Interface

IApplication

Selected Measurement Events

1024 naEventID_NO_VALID_MEMORY_TRACE

1028 naEventID_LIMIT_FAILED

1029 naEventID_LIMIT_PASSED

1034 naEventID_MEMORY_NOT_SAVED

1035 naEventID_SET_AVERAGE_COMPLETE

1036 naEventID_CLEAR_AVERAGE_COMPLETE

1111 naEventID_MARKER_BANDWIDTH_NOT_FOUND

1112 naEventID_PEAK_NOT_FOUND

1113 naEventID_TARGET_VALUE_NOT_FOUND

See Also

Errors and the SCPIStringParser Object