Agilent Technologies 87075C Notational Rules of COM Objects, Object Type, Syntax, Description

Models: 87075C

1 169
Download 169 pages 62.06 Kb
Page 96
Image 96
Object Type

COM Object Reference

Object Type

Notational Rules of COM Objects

This section describes the rules for the description of the COM objects in this chapter.

Object Type

Part with heading “Object type” describes the type of the E5061A/E5062A COM object. The E5061A/E5062A provides properties and methods as the types of COM objects. In the E5061A/E5062A COM objects, COM objects to set (send)/read (return) the state of the E5061A/E5062A using variables are defined as property and ones to prompt some kind of processing as method.

Syntax

Part with heading “Syntax” describes the syntax to send a COM object from the E5061A/E5062A VBA to the E5061A/E5062A. The syntax consists of the object part and the set/read part, with an equal “=” inserted between them. Variables are indicated by italicized letters. Variables with () are indices. For indices with () having their preset values, you can omit “(variable),” and, if omitted, the preset values are automatically set.

There are the following 3 types of syntax for coding using objects.

"Object (property) = variable": to set the stat of the E5061A/E5062A.

variable=object (property): to read the stat of the E5061A/E5062A.

"Object (method)": to make the E5061A/E5062A perform some processing.

Description

Part with heading “Description” describes how to use the COM object or the operation when executed. COM objects used only to read the state of the E5061A/E5062A are indicated with “Read only” and ones used only to set the state of the E5061A/E5062A “No read.”

88

Chapter 7

Page 96
Image 96
Agilent Technologies 87075C manual Notational Rules of COM Objects, Object Type, Syntax, Description, COM Object Reference