public override void Run() { // ToDo: Add test case code. RunChildSteps(); //If the step supports child steps. var myFreq = Convert.ToDouble(MyInst.ScpiQuery("SOURce:FREQuency?")); Log.Info(myFreq.ToString()); Log.Info(myFreq.GetType().ToString()); // If no verdict is used, the verdict will default to NotSet. // You can change the verdict using UpgradeVerdict() as shown below. // UpgradeVerdict(Verdict.Pass); }
void ResetInstrument(MyInst myInst) { myInst.ScpiCommand("*RST"); }