![Agilent Technologies 86038B User Manual Download Page 197](http://html.mh-extra.com/html/agilent-technologies/86038b/86038b_user-manual_2867945197.webp)
Agilent 86038B Photonic Dispersion and Loss Analyzer,
Second Edition
197
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
private void Form1_Load(object sender, System.EventArgs e)
{
}
private void NewStatusEvent(string msg, ODACommon.eEventLogType e)
{
// Let the user know something happened
lblStatus.Text=msg;
}
private void TriggerProgressEvent(ODACommon.enumStatus status,
ODACommon.enumAcquisitionMode acqMode)
{
if (acqMode == ODACommon.enumAcquisitionMode.eMeasurement)
{
// Instrument is making a measurement
if (status == ODACommon.enumStatus.COMPLETE)
{
// The measurement is done, transfer data!
sendDataToFile(@"c:\mydata.txt");
}
}
}
private void sendDataToFile(string fileName)
{
// Transfer the gain data over from the PDLA and save it to a file
double[] gainData;
double xStart;
double xStop;
double xStep;
int npoin;
string buf;
int cnt;
double x;
// Get the gain data from port one
gainData = pdlaClient.Results.YData(ODACommon.eMeasurementType.Gain,
ODACommon.eODAPort.One);
npoin=gainData.Length;
// Get the start and stop wavelengths
xStart = pdlaClient.Results.XStart(ODACommon.eMeasurementType.Gain);
xStop = pdlaClient.Results.XStop(ODACommon.eMeasurementType.Gain);
xStep = (xStop - xStart)/ (npoin -1);
Summary of Contents for 86038B
Page 1: ...Agilent 86038B Photonic Dispersion and Loss Analyzer User s Guide ...
Page 4: ...4 ...
Page 20: ...20 Agilent 86038B Photonic Dispersion and Loss Analyzer Second Edition ...
Page 34: ...34 Agilent 86038B Photonic Dispersion and Loss Analyzer Second Edition Figure 2 b Rear Panel ...
Page 78: ...78 Agilent 86038B Photonic Dispersion and Loss Analyzer Second Edition ...
Page 92: ...92 Agilent 86038B Photonic Dispersion and Loss Analyzer Second Edition ...
Page 202: ...202 Agilent 86038B Photonic Dispersion and Loss Analyzer Second Edition End Sub ...
Page 348: ...348 Agilent 86038B Photonic Dispersion and Loss Analyzer Second Edition ...
Page 349: ......