About Analyzer Events

OnCalEvent


Description

Triggered by a calibration event. See a list of CAL Events.

Note: Some Severe Events are also used as Error Messages

 VB Syntax

Sub app_OnCalEvent(ByVal eventID As Variant, ByVal chanNum As Variant, ByVal measNum As Variant)

Variable

(Type) - Description

app

An Application (object)

eventID

Code number of the event which occurred

chanNum

Channel Number of the event

measNum

Measurement Number of the event

Return Type

Not Applicable

Default

Not Applicable

Examples

Sub pna_OnCalEvent(ByVal eventID As Variant, ByVal channelNumber As Variant, ByVal measurementNumber As Variant)
'
MsgBox ("A Calibration event has occured")
End Sub


C++ Syntax

HRESULT OnCalEvent(VARIANT eventID, VARIANT channelNumber, VARIANT measurementNumber)

Interface

IApplication

Selected Cal Events

512 naEventID_CAL_QUESTIONABLE

513 naEventID_CAL_STD_NEEDED

514 naEventID_CAL_STATE_NOT_HW_COMPATIBLE

515 naEventID_CAL_REQUIRED

516 naEventID_CAL_CORRECTION_TURNED_OFF

517 naEventID_CAL_CORRECTION_TURNED_OFF_INTERPOLATION_OFF

518 naEventID_CAL_CORRECTION_RESTORED

519 naEventID_CAL_CORRECTION_TURNED_OFF_FREQRANGE_EXCEEDED

520 naEventID_CAL_CALTYPE_SET_TO_NONE

521 naEventID_CAL_CORRECTION_TURNED_OFF_NOT_AN_SPARAM

524 naEventID_SOURCE_POWER_CAL_COMPLETED

592 naEventID_SOURCE_POWER_CAL_NOT_PRESENT

593 naEventID_SOURCE_POWER_CAL_NOT_COMPLETE

594 naEventID_SOURCE_POWER_CAL_REMOVE_TRACE

595 naEventID_SOURCE_POWER_CAL_REMOVE_MEAS

596 naEventID_SOURCE_POWER_CAL_POWER_CHANGED

598 naEventID_INSUFFICIENT_SLIDE_MOVEMENT

613 naEventID_CALSET_NOT_FOUND

615 naEventID_CALSET_CREATED

617 naEventID_CALSET_FILE_NOT_VALID

634 naEventID_CALSET_LOAD_FAILED

635 naEventID_CALSET_SAVE_FAILED

636 naEventID_CALSET_DELETED

637 naEventID_CALSET_FILE_NOT_COMPATIBLE

639 naEventID_NEW_CALSET_FILE_CREATED

640 naEventID_CAL_SET_IN_USE

644 naEventID_CAL_COULD_NOT_TURN_ON

693 naEventID_ERROR_FIXTURING_S2PFILE_CANNOT_OPEN

696 naEventID_ERROR_FIXTURING_TURNED_OFF

701 naEventID_MORE_THRU_PATHS_NEEDED

See Also

Errors and the SCPIStringParser Object