Enumerations - Agilent Technologies 86038A User Manual

Optical dispersion analyzer
Table of Contents

Advertisement

Recommended Control Sequence
Table 8 ODA Enumerations
Enumeration
eDispersionMode
odaClient.DispersionMode
eEventLogType
Event: NewStatus
eGDOffsetMode
odaClient.Display.GDOffsetMode
Agilent 86038A Optical Dispersion Analyzer, Third Edition

Enumerations

Many communications with the ODA will involve enumerated types -
where there is a finite number of possible values, each with a unique
spelling. Because the ODA exports both an Active X (for example, VB 6.0)
and a .NET interface, there are two slightly different versions of all the
enumerations. The .NET version takes the form object.name, whereas the
Active X interface uses object_name. When you use VB 6.0, the
enumerations are automatically qualified for you by the function that is
passing or returning them, so you only need to know the spelling below. In
.NET, you must enter the complete object path to the enumeration.
Fortunately, in most cases IntelliSense will offer you a list of options so
you will not have to type the complete object path.
In .NET, the enumerations all come off the following root, unless otherwise
specified:
Agilent.LWD.Ag86038x.InstrumentObjects.ODACommon
In VB 6.0, the enumerations all come off of the InstrumentObjects
interface, although you will not need to know this.
Values in VB 6
eDispersionMode_CD_PMD_Stepped
eDispersionMode_CD_Stepped
eDispersionMode_CD_Swept
eEventLogType_EventError
eEventLogType_Information
eEventLogType_Warning
eGDOffsetMode_CenterPoint
eGDOffsetMode_MaximumPoint
eGDOffsetMode_MinimumPoint
eGDOffsetMode_No_Offset
Remote Operation
Values in .NET
eDispersionMode.CD_PMD_Stepped
eDispersionMode.CD_Stepped
eDispersionMode.CD_Swept
eEventLogType.EventError
eEventLogType.Information
eEventLogType.Warning
ODASensitivity.eGDOffsetMode:
.CenterPoint
.MaximumPoint
.MinimumPoint
.No_Offset
1
141

Advertisement

Table of Contents
loading

Table of Contents