Agilent Technologies 86038A User Manual page 209

Optical dispersion analyzer
Table of Contents

Advertisement

Base Commands
IsConnected Method
TerminateSession Method
Agilent 86038A Optical Dispersion Analyzer, Third Edition
Checks to see if a remoting connection is established to the ODA. It is
usually more efficient to use the Connected event, but this is a query you
can make at any time.
Returns
Boolean - True is connected.
VB.NET Syntax
If (odaClient.Connectivity.IsConnected() = True) Then
MsgBox("Connected")
End If
VB 6.0 Syntax
If (odaClient.Connectivity.IsConnected = True) Then
MsgBox("Connected")
End If
This method unregisters the communicator channel to the ODA.
TerminateSession should be called when remoting to the ODA has been
concluded.
VB.NET Syntax
odaClient.Connectivity.TerminateSession
VB 6.0 Syntax
odaClient.Connectivity.TerminateSession
Programming Commands
209

Advertisement

Table of Contents
loading

Table of Contents