Specifications

Chapter 18 539
COM Interface Reference
Application object
18. COM Interface Reference
Unlocked event
Explanation Indicates that “PLL Unlock” error was detected in the E4991A.
Examples The following is an example of stopping a program by force when a “PLL Unlock” error
occurs during measurement. The following program has to be described in user form or
class module.
Example 18-13 Example of using Unlocked event
Public WithEvents Evnt As E4991ALib.Application
Private Sub Evnt_Unlocked()
MsgBox "Error: PLL Unlock"
End
End Sub
DcBiasOverload event
Explanation Indicates that “DC bias overload” error was detected in the E4991A.
Examples The following is an example of stopping a program by force when a “DC bias overload”
error occurs during measurement. The following program has to be described in user form
or class module.
Example 18-14 Example of using DcBiasOverload event
Public WithEvents Evnt As E4991ALib.Application
Private Sub Evnt_DcBiasOverload()
MsgBox "Error: Dc bias overload"
End
End Sub