Пример #1
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:TYPE {0},{1}", ArbType, ChanList);
            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:SHAPe {0},{1}", ArbFunction, ChanList);

            // Stair
            if (ArbType == EArbType.CURRent)
            {
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:STAircase:STARt:LEVel {0},{1}", CStairStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:STAircase:STARt:TIMe {0},{1}", CStairStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:STAircase:END:LEVel {0},{1}", CStairEndLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:STAircase:END:TIMe {0},{1}", CStairEndTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:STAircase:NSTeps {0},{1}", CStairSteps, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:STAircase:TIMe {0},{1}", CStairTotalTime, ChanList);
            }
            else if (ArbType == EArbType.VOLTage)
            {
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:STAircase:STARt:LEVel {0},{1}", VStairStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:STAircase:STARt:TIMe {0},{1}", VStairStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:STAircase:END:LEVel {0},{1}", VStairEndLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:STAircase:END:TIMe {0},{1}", VStairEndTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:STAircase:NSTeps {0},{1}", VStairSteps, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:STAircase:TIMe {0},{1}", VStairTotalTime, ChanList);
            }
        }
Пример #2
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:TYPE {0},{1}", ArbType, ChanList);
            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:SHAPe {0},{1}", ArbFunction, ChanList);

            // Ramp

            if (ArbType == EArbType.CURRent)
            {
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:RAMP:STARt:LEVel {0},{1}", CRampStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:RAMP:STARt:TIMe {0},{1}", CRampStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:RAMP:RTIMe {0},{1}", CRampRtime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:RAMP:END:LEVel {0},{1}", CRampEndLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:RAMP:END:TIMe {0},{1}", CRampEndTime, ChanList);
            }
            else if (ArbType == EArbType.VOLTage)
            {
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:RAMP:STARt:LEVel {0},{1}", VRampStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:RAMP:STARt:TIMe {0},{1}", VRampStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:RAMP:RTIMe {0},{1}", VRampRtime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:RAMP:END:LEVel {0},{1}", VRampEndLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:RAMP:END:TIMe {0},{1}", VRampEndTime, ChanList);
            }

            // UpgradeVerdict(Verdict.Pass);
        }
Пример #3
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:TYPE {0},{1}", ArbType, ChanList);
            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:SHAPe {0},{1}", ArbFunction, ChanList);

            // Dwell
            if (ArbType == EArbType.CURRent)
            {
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:CDWell:DWELl {0},{1}", CDwellTime, ChanList);
                MyInst.ScpiCommand(":FORMat:DATA ASC");
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:CDWell:LEVel {0},{1}", CDwellLevel, ChanList);
                CDwellPoints = MyInst.ScpiQuery <System.Int32[]>(Scpi.Format(":SOURce:ARB:CURRent:CDWell:POINts? {0}", ChanList), true);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:CONVert {0}", ChanList);
            }
            else if (ArbType == EArbType.VOLTage)
            {
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:CDWell:DWELl {0},{1}", VDwellTime, ChanList);
                MyInst.ScpiCommand(":FORMat:DATA ASC");
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:CDWell:LEVel {0},{1}", VDwellLevel, ChanList);
                VDwellPoints = MyInst.ScpiQuery <System.Int32[]>(Scpi.Format(":SOURce:ARB:VOLTage:CDWell:POINts? {0}", ChanList), true);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:CONVert {0}", ChanList);
            }


            // UpgradeVerdict(Verdict.Pass);
        }
Пример #4
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.


            MyInst.ScpiCommand(":INSTrument:SELect {0}", InstMode);
            MyInst.ScpiCommand("*OPC");
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:ACTivate", MarkerNo);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:AOFF", MarkerNo);
            // Marker BW
            MarkerBWdata = MyInst.ScpiQuery <System.Double[]>(Scpi.Format(":CALCulate:SELected:MARKer{0}:BWIDth:DATA?", MarkerNo), true);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:BWIDth:STATe {1}", MarkerNo, MarkerBWstate);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:FUNCtion:BWIDth:THReshold {1}", MarkerNo, MarkerBWThreshold);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:FORMat {1}", MarkerNo, MarkerFormat);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:STATe {1}", MarkerNo, MarkerMode);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:TRACe {1}", MarkerNo, TraceNum);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:X {1}", MarkerNo, MarkerX);
            MarkerPhase = MyInst.ScpiQuery <System.Double>(Scpi.Format(":CALCulate:SELected:MARKer{0}:Y?", MarkerNo), true);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:FUNCtion:MAXimum", MarkerNo);
            MyInst.ScpiCommand(":CALCulate:SELected:MARKer{0}:FUNCtion:MINimum", MarkerNo);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #5
0
 public override void Run()
 {
     MyInst.ScpiCommand(":SOURce:MODulation:AM:DEPTh:LINear {0}", AmDepth);
     MyInst.ScpiCommand(":SOURce:MODulation:AM:MODE {0}", AmMode);
     MyInst.ScpiCommand(":SOURce:MODulation:AM:SOURce {0}", internalExternaletc);
     MyInst.ScpiCommand(":SOURce:MODulation:AM:STATe {0}", AmState);
 }
Пример #6
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            //MyInst.Display(WINDowNo, state, SelectWindow, GridStatus, OffsetFreq, Dline, DlineState, NormRefLevel, NormRefPositon, Pdivision, YScaleSpacing, XScaleSpacing);

            UpgradeVerdict(Verdict.Pass);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);

            MyInst.ScpiCommand(":DISPlay:WINDow{0}:FORMat:TILE", WINDowNo);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:FORMat:ZOOM", WINDowNo);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:MAMarker:STATe {1}", WINDowNo, state);
            MyInst.ScpiCommand(":DISPlay:WINDow {0}", SelectWindow);
            //MyInst.ScpiCommand(":DISPlay:WINDow{0}:SELect {1}", WINDowNo, SelectWindow);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:GRATicule:GRID:STATe {1}", WINDowNo, GridStatus);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:X:SCALe:OFFSet {1}", WINDowNo, OffsetFreq);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:X:SCALe:SPACing {1}", WINDowNo, XScaleSpacing);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:Y:SCALe:SPACing {1}", WINDowNo, YScaleSpacing);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:Y:DLINe:STATe {1}", WINDowNo, DlineState);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:Y:DLINe {1}", WINDowNo, Dline);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:Y:SCALe:NRLevel {1}", WINDowNo, NormRefLevel);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:Y:SCALe:NRPosition {1}", WINDowNo, NormRefPositon);
            MyInst.ScpiCommand(":DISPlay:WINDow{0}:TRACe:Y:SCALe:PDIVision {1}", WINDowNo, Pdivision);
        }
Пример #7
0
 public override void Run()
 {
     MyInst.ScpiCommand(":TRIGger:OUTPut:POLarity {0}", TriggerPolarity);
     MyInst.ScpiCommand(":TRIGger:SEQuence:TIMer {0}", TimerPeriod);
     MyInst.ScpiCommand(":TRIGger:SEQuence:SLOPe {0}", TriggerSequenceSlope);
     MyInst.ScpiCommand(":TRIGger:SEQuence:SOURce {0}", TriggerSource);
 }
Пример #8
0
 public override void Run()
 {
     MyInst.ScpiCommand(":SOURce:MODulation:PM:BANDwidth {0}", BandwidthType);
     MyInst.ScpiCommand(":SOURce:MODulation:PM:DEViation {0}", PmDeviation);
     MyInst.ScpiCommand(":SOURce:MODulation:PM:SOURce {0}", IntExtSource);
     MyInst.ScpiCommand(":SOURce:MODulation:PM:STATe {0}", PmState);
 }
Пример #9
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:TYPE {0},{1}", ArbType, ChanList);
            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:SHAPe {0},{1}", ArbFunction, ChanList);

            // Trapezoidal
            if (ArbType == EArbType.CURRent)
            {
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:STARt:LEVel {0},{1}", CTrapStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:STARt:TIMe {0},{1}", CTrapStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:RTIMe {0},{1}", CTrapRiseTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:TOP:LEVel {0},{1}", CTrapTopLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:TOP:TIMe {0},{1}", CTrapTopTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:FTIMe {0},{1}", CTrapRallTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:TRAPezoid:END:TIMe {0},{1}", CTrapEndTime, ChanList);
            }
            else if (ArbType == EArbType.VOLTage)
            {
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:STARt:LEVel {0},{1}", VTrapStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:STARt:TIMe {0},{1}", VTrapStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:RTIMe {0},{1}", VTrapRiseTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:TOP:LEVel {0},{1}", VTrapTopLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:TOP:TIMe {0},{1}", VTrapTopTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:FTIMe {0},{1}", VTrapRallTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:TRAPezoid:END:TIMe {0},{1}", VTrapEndTime, ChanList);
            }
            // UpgradeVerdict(Verdict.Pass);
        }
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            if (enableRiseTime)
            {
                MyInst.ScpiCommand(":MEASure:RISetime {0}", Source);
            }
            if (enableFallTime)
            {
                MyInst.ScpiCommand(":MEASure:FALLtime {0}", Source);
            }
            if (enablePeriod)
            {
                MyInst.ScpiCommand(":MEASure:PERiod {0},{1}", Source, DirectionPeriod);
            }
            if (enableFrequency)
            {
                MyInst.ScpiCommand(":MEASure:FREQuency {0},{1}", Source, DirectionFrequency);
            }
            if (enableVpp)
            {
                MyInst.ScpiCommand(":MEASure:VPP {0}", Source);
            }
        }
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:TYPE {0},{1}", ArbType, ChanList);
            MyInst.ScpiCommand(":SOURce:ARB:FUNCtion:SHAPe {0},{1}", ArbFunction, ChanList);

            // Exponential
            if (ArbType == EArbType.CURRent)
            {
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:EXPonential:STARt:LEVel {0},{1}", CExpoStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:EXPonential:STARt:TIMe {0},{1}", CExpoStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:EXPonential:END:LEVel {0},{1}", CExpoEndLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:EXPonential:TIMe {0},{1}", CExpoTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:CURRent:EXPonential:TCONstant {0},{1}", CExpoTimeConst, ChanList);
            }
            else if (ArbType == EArbType.VOLTage)
            {
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:EXPonential:STARt:LEVel {0},{1}", VExpoStartLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:EXPonential:STARt:TIMe {0},{1}", VExpoStartTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:EXPonential:END:LEVel {0},{1}", VExpoEndLevel, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:EXPonential:TIMe {0},{1}", VExpoTime, ChanList);
                MyInst.ScpiCommand(":SOURce:ARB:VOLTage:EXPonential:TCONstant {0},{1}", VExpoTimeConst, ChanList);
            }

            // UpgradeVerdict(Verdict.Pass);
        }
Пример #12
0
 public override void Run()
 {
     MyInst.ScpiCommand(":DISPlay:BRIGhtness {0}", Brightness);
     MyInst.ScpiCommand(":DISPlay:CONTrast {0}", Contrast);
     MyInst.ScpiCommand(":DISPlay:CAPTure");
     MyInst.ScpiCommand(":DISPlay:REMote {0}", RemoteStatus);
     QueryRemoteStatus = MyInst.ScpiQuery <System.Boolean>(Scpi.Format(":DISPlay:REMote?"), true);
 }
Пример #13
0
 public override void Run()
 {
     MyInst.ScpiCommand(":OUTPut:BLANking:AUTO {0}", OutputBlankingAuto);
     MyInst.ScpiCommand(":OUTPut:BLANking:STATe {0}", OutputBlankingState);
     MyInst.ScpiCommand(":OUTPut:MODulation:STATe {0}", OutputModulation);
     MyInst.ScpiCommand(":OUTPut:PROTection:STATe {0}", OutputProtection);
     this.ProcessResults();
 }
Пример #14
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":SOURce:POWer:LIMit {0},{1}", PowerLimit, ChanList);
            // UpgradeVerdict(Verdict.Pass);
        }
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.VerticalSetting(TimeRange, TimeReference, TimeReferencePercent, TimeRollMode,
                                   TimeScale, TimeWindowDelay, TimeWindowPosition, TimeWindowRange, TimeWindowScale);
        }
Пример #16
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":OUTPut:STATe {0},{1},{2}", OutputState, NORelayMode, ChanList);
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #17
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":OUTPut:STATe:DELay:FALL {0},{1}", FallDelay, ChanList);
            MyInst.ScpiCommand(":OUTPut:STATe:DELay:RISE {0},{1}", RiseDelay, ChanList);
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #18
0
 public override void Run()
 {
     QueryCurrentSPoint = MyInst.ScpiQuery <System.Int32>(Scpi.Format(":SOURce:SWEEp:POINt?"), true);
     MyInst.ScpiCommand(":SOURce:LIST:DIRection {0}", Direction);
     QueryDirection = MyInst.ScpiQuery <System.String>(Scpi.Format(":SOURce:LIST:DIRection?"), true);
     MyInst.ScpiCommand(":SOURce:SWEEp:FREQuency {0}", ListFrequency);
     QueryListDirection = MyInst.ScpiQuery <System.Double[]>(Scpi.Format(":SOURce:LIST:FREQuency?"), true);
     MyInst.ScpiCommand(":SOURce:SWEEp:POWer {0}", ListPower);
     MyInst.ScpiCommand(":SOURce:SWEEp:TYPE {0}", SweepType);
 }
Пример #19
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.MarkerFunction(MarkerNo, MarkerNormal, MarkerPeakMode);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #20
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.PreAmplifier(PreAmpState, PreAmpBand);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #21
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.AmplitudeSetting(AmplitudeUnit, Output, StartPower, Step, SweepPowerSpan, PowerSweepState);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #22
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.SweepConfigure(SweepPoints, SweepTime);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #23
0
        public override void Run()
        {
            MyInst.ScpiCommand(":SENSe:BANDwidth:IF:OUT {0}", IF);
            MyInst.ScpiCommand(":SENSe:BANDwidth:RESolution {0}", Resolution);
            MyInst.ScpiCommand(":SENSe:BANDwidth:VIDeo {0}", VBW);

            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #24
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.Marker(MarkerNo, MarkerMode, MarkerTableStatus, TraceNo, MarkerFreq);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #25
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.FrequencySetting(CenterFreq, StartFreq, StopFreq, FreqSpan);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #26
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps();             //If the step supports child steps.

            MyInst.ScpiCommand(":SENSe:ALIGnment:BURSt:STATe {0}", BurstAlignmentState);

            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.VerticalSetting(ChannelNo, Units, VScale, VRange, VOffset, VInvert);

            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);s
        }
Пример #28
0
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":HCOPy:SDUMp:DATA:FORMat {0}", ImageType);

            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
Пример #29
0
        public override void Run()
        {
            // ToDo: Add test case code.
            // RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":TRACe{0}:TYPE {1}", TraceNo, TraceType);
            MyInst.ScpiCommand(":FORMat:DATA ASC,0");
            OutputTraceValue = MyInst.ScpiQuery <System.Double[]>(Scpi.Format(":TRACe{0}:DATA?", TraceNo), true);
            // If no verdict is used, the verdict will default to NotSet.
            // You can change the verdict using UpgradeVerdict() as shown below.
            // UpgradeVerdict(Verdict.Pass);
        }
        public override void Run()
        {
            // ToDo: Add test case code.
            RunChildSteps(); //If the step supports child steps.

            MyInst.ScpiCommand(":DIGital{0}:DISPlay {1}", DigitalNo, DigitalDisplayState);
            MyInst.ScpiCommand(":DIGital{0}:LABel {1}", DigitalNo, Quoted_string);
            MyInst.ScpiCommand(":DIGital{0}:SIZE {1}", DigitalNo, DigitalVertcalSize);
            MyInst.ScpiCommand(":DIGital{0}:THReshold {1}", DigitalNo, Threshold);
            MyInst.ScpiCommand(":ENABle {0}", EnableDigital);
            MyInst.ScpiCommand(":DISable {0}", DisableDigital);
        }