Server To Client Events - Agilent Technologies 86038A User Manual

Optical dispersion analyzer
Table of Contents

Advertisement

Server to Client Events

Connected
(ByVal connected As Boolean)
EstimatedTestTime
(ByVal sTestName As String, ByVal tsEstimate As Double)
Agilent 86038A Optical Dispersion Analyzer, Third Edition
Server to Client Events
The server to client events allow the 86038A ODA to update the client with
current data or instrument settings. In this context, the ODA is the server
and your program is the client. These events are asynchronous. That is,
you cannot determine when they are going to occur. You need to set up
event handlers for the events you want to catch.
Indicates that a remote session has connected to/disconnected from the
ODA. Once you have requested a connection using the Connect method on
the Connectivity object, you must wait for this event to return a true before
sending commands to the ODA. If you receive this event after your
connection has been established, and the value is false, you need to re-
establish your connection.
Parameters
connected - True = Connected to the ODA
Related Commands
Connectivity.Connect method
Connectivity.Disconnect method
Connectivity.TerminateSession method
Sends estimated time of a particular test. This event is sent once at the
beginning of a test. An action such as a Normalization may be comprised
of several tests. In this case, the EstimatedTestTime event will be sent at
the beginning of each test.
Parameters
sTestName - The name of the test.
tsEstimate - The estimated time of the test in seconds.
Programming Commands
193

Advertisement

Table of Contents
loading

Table of Contents