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


            MyInst.ScpiCommand(":MMEMory:CDIRectory {0}", CurrDirectory);
            MyInst.ScpiIEEEBlockCommand(string.Format(":MMEMory:DATA {0}", Filename), MyInst.GetBytes(Data));
            MyInst.ScpiCommand(":MMEMory:MDIRectory {0}", MakeDirectory);
            MyInst.ScpiCommand(":MMEMory:STORe:FDATa {0}", DataFile);
            MyInst.ScpiCommand(":MMEMory:STORe:IMAGe {0}", ImgFile);
            MyInst.ScpiCommand(":MMEMory:STORe:SNP:DATA {0}", SnpFile);
            MyInst.ScpiCommand(":MMEMory:STORe:STATe {0}", StateFile);

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