Enumerations - Agilent Technologies 86038B User Manual

Photonic dispersion and loss analyzer
Table of Contents

Advertisement

Enumerations

Table 5-4. PDLA Enumerations
Enumeration
eDispersionMode
pdlaClient.DispersionMode
eDUTLossGain
pdlaClient.DUTMinLossMaxGain
eEventLogType
Event: NewStatus
150
Many communications with the PDLA will involve enumerated
types - where there is a finite number of possible values, each
with a unique spelling. Because the PDLA 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
eDispersionMode_CD_PMD_Swept
eDUTLossGain_eGain_10dB
eDUTLossGain_eGain_0dB
eDUTLossGain_eGain_M10dB
eDUTLossGain_eGain_M20dB
eDUTLossGain_eGain_M30dB
eDUTLossGain_eGain_M40dB
eDUTLossGain_eGain_M50dB
eEventLogType_EventError
eEventLogType_Information
eEventLogType_Warning
eEventLogType_SuccessAudit
eEventLogType_FailureAudit
Agilent 86038B Photonic Dispersion and Loss Analyzer, Second Edition
Values in .NET
eDispersionMode.CD_PMD_Stepped
eDispersionMode.CD_Stepped
eDispersionMode.CD_Swept
eDispersionMode.CD_PMD_Swept
eDUTLossGain.eGain_10dB
eDUTLossGain.eGain_0dB
eDUTLossGain.eGain_M10dB
eDUTLossGain.eGain_M20dB
eDUTLossGain.eGain_M30dB
eDUTLossGain.eGain_M40dB
eDUTLossGain.eGain_M50dB
eEventLogType.EventError
eEventLogType.Information
eEventLogType.Warning
eEventLogType.SuccessAudit
eEventLogType.FailureAudit

Advertisement

Table of Contents
loading

Table of Contents