Event Table - Agilent Technologies 86038A User Manual

Optical dispersion analyzer
Table of Contents

Advertisement

Remote Operation
Table 9 ODA Events
144

Event Table

As mentioned in other sections, the ODA lends itself very well to event
based programming. Events are very easy to use in Visual Basic. In C#, you
have to know the name of the event and the delegate. The table below lists
the available events on the odaClient, along with the associated status
property if you prefer to query rather than wait for events. The C#
delegates all come off of ODARemoting, as in
ODARemoting.ConnectedDelegate.
Event
Connected
EstimatedTestTime
NewDataUpdate
NewStatus
PresetProgress
Recommended Control Sequence
Description
Equivalent Status Property
C# Delegate
This event occurs whenever a remote client connects to or
disconnects from the ODA. A boolean pass parameter is set true
on connection.
odaClient.Connectivity.IsConnected()
ConnectedDelegate
An estimate of how long the current test is going to take is sent at
the beginning of each test. The first parameter is the name as a
string, the second is the test time estimate in seconds.
(Not available by query)
EstimatedTestTimeDelegate
Indicates when new measurement data is available. Can indicate
a partial trace update in stepped mode; swept mode is always a
complete trace.
Use
odaClient.Status. T riggerComplete
NewDataUpdateDelegate
This event occurs whenever a new status message is presented
to the user on the front panel of the ODA. The pass parameters
include the message itself and the severity of the message.
,
odaClient.Status.ErrorFlag
odaClient.Status.LastError
NewStatusDelegate
This event occurs when the ODA begins and completes an
instrument preset. The pass parameter indicates whether it is the
beginning or, end.
odaClient.Status.PresetComplete
ProgressDelegate
Agilent 86038A Optical Dispersion Analyzer, Third Edition
to detect end of sweep.

Advertisement

Table of Contents
loading

Table of Contents