Agilent Technologies 86038A User Manual page 243

Optical dispersion analyzer
Table of Contents

Advertisement

Base Commands
InstrumentState Property
LastError Property
Agilent 86038A Optical Dispersion Analyzer, Third Edition
VB 6.0 Syntax
odaClient.Status.EstimatedTimeToTLSSettling
Indicates the current state of the ODA, that is, idle, initializing, measuring,
TLS Settling, or aborting.
possible values.
Property Value
InstrumentObjects.ODACommon.eInstrumentStatus - Denotes the current
instrument state.
VB.NET Syntax
Dim curStatus As InstrumentObjects.ODACommon.eInstrumentStatus
curStatus = odaClient.Status.InstrumenState
VB 6.0 Syntax
Dim curStatus as InstrumentObjects.eInstrumentStatus
curStatus = odaClient.Status.InstrumentState
Returns a string describing the error. Reading the LastError automatically
sets the property back to an empty string.
Property Value
String - A description of the error.
VB.NET Syntax
If(odaClient.Status.ErrorFlag = True) Then
MsgBox("Error:" + odaClient.Status.LastError)
End If
VB 6.0 Syntax
If(odaClient.Status.ErrorFlag = True) Then
MsgBox("Error:" + odaClient.Status.LastError)
End If
Refer to "ODA Enumerations" on page 141
Programming Commands
for
243

Advertisement

Table of Contents
loading

Table of Contents