Connectivity Commands - Agilent Technologies 86038A User Manual

Optical dispersion analyzer
Table of Contents

Advertisement

Programming Commands
Connect Method
Disconnect Method
208

Connectivity Commands

The Connectivity property of the remote client returns a connectivity
object, with methods and properties for controlling the LAN connection to
the ODA.
Connects a remoting session to the remote server. Pass it the network
name of the ODA. The network name can be found by looking at the Help >
About dialog from the ODA front panel. You must wait until the connected
event returns true before sending commands.
You can also use the IP address of the ODA in string form. For example
"xxx.xxx.xxx.xxx". An error will be raised if the Connect method is called on
a remote client that is already connected.
Parameters
ByVal serverMachineName As String - The network name of the ODA.
VB.Net Syntax
odaClient.Connectivity.Connect("MYODA")
VB 6.0 Syntax
odaClient.Connectivity.Connect("MYODA")
Disconnects the remoting session from the ODA. Events will not be sent to
the remote client once it disconnects.
VB.NET Syntax
odaClient.Connectivity.Disconnect()
VB 6.0 Syntax
odaClient.Connectivity.Disconnect
Agilent 86038A Optical Dispersion Analyzer, Third Edition
Base Commands

Advertisement

Table of Contents
loading

Table of Contents