public void ENAConfigure(double startFrequency, double stopFrequency, double iFBW, int SweepPoints, double PowerLevel, S_Parameters selectedS_Parameter) { DefineMeasurement(selectedS_Parameter.ToString()); ScpiCommand("SENSe:FREQuency:STARt " + startFrequency); ScpiCommand("SENSe:FREQuency:STOP " + stopFrequency); ScpiCommand("SENSe:BANDwidth:RESolution " + iFBW); ScpiCommand("SENSe:SWEep:POINts " + SweepPoints); ScpiCommand("SOUR:POW:CENT " + PowerLevel); }
public void SelectS_Parameter(S_Parameters WhichSParameter) { string selectedS_Parameter = @"""" + WhichSParameter.ToString() + @""""; ScpiCommand("CALCulate:MEASure:PARameter " + selectedS_Parameter); OpenTap.TapThread.Sleep(500); ScpiCommand("DISPlay:WINDow:Y:AUTO"); //DISP:WIND:Y:AUTO OpenTap.TapThread.Sleep(500); }