03.01.2015 Views

Complete set: Intro to C - Bill Buchanan

Complete set: Intro to C - Bill Buchanan

Complete set: Intro to C - Bill Buchanan

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

protected override void UserRun()<br />

{<br />

// TODO: Do the Test task here: perform the measurement and<br />

limit checking<br />

duction <strong>to</strong> .NET<br />

<strong>Intro</strong><br />

}<br />

Trace.WriteLine(new TmTraceEntry(this,<br />

TmTraceSwitch.TestSwitch,<br />

TmTraceLevel.Verbose,<br />

"starting testpoint"));<br />

MessageBox.Show("training example");<br />

singleSidedLimit1.Check(-1);<br />

Thread.Sleep(2000);<br />

singleSidedLimit2.Check(-1);<br />

powerMeter.re<strong>set</strong>();<br />

Trace.WriteLine(new TmTraceEntry(this,<br />

TmTraceSwitch.TestSwitch,<br />

TmTraceLevel.Verbose,<br />

"ending testpoint"));<br />

Agilent .NET Course: Module 6, page 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!