Specifications

238 Chapter 14
Outline of Programming Using COM
Outline of E4991A COM
Outline of E4991A COM
COM is the abbreviation of “Component Object Model.” The following gives a simplified
concept of COM and describes the COM interface specifications.
NOTE The company shall not guarantee the operation of the E4991A COM on any application
software other than E4991A VBA (Visual Basic for Application).
E4991A COM Object
The parts of the E4991A COM object interface are classified as follows.
Property
The object property is used for reading the status of the E4991A. For example, it is possible
to confirm the version of E4991A VBA (Visual BASIC for Application) equipped with the
E4991A instrument by using
VBAVersion property on page 530.
This group includes COM objects indicated by the object name followed by “property.
Method
With the E4991A, an object method is used for executing a target movement (operation) or
realizing a function. For example, it is possible to execute a sweep once by using
SingleMeasure method on page 532 or to copy the image of a measurement screen
onto the clipboard after completing measurement by using GetScreenImage method
on page 535.
This group includes COM objects indicated by the object name followed by “method.”
Event
You can confirm the status transitions that occur in the E4991A by detecting the events
issued by the object. For example, you can determine the completion of a sweep by using
SweepEnd event on page 537.
This group includes COM objects indicated by the object name followed by “event.”