Beispiel #1
0
        /// <summary>
        /// 将模拟信号源的各设置参数实现到仪表
        /// </summary>
        /// <param name="SGsetting"></param>
        /// <returns></returns>
        public override bool SignalGeratorConfigure(SignalGeneratorSetting SGsetting)
        {
            this.RFFrequency = SGsetting.Freq;
            this.WaitOpc();
            this.AmplOffset = SGsetting.Offset;
            this.WaitOpc();
            this.RFPower = SGsetting.RFPower;
            this.WaitOpc();
            this.RFOutputEnabled = SGsetting.RFOn;

            return(true);
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="SGsetting"></param>
        /// <returns></returns>
        public override bool SignalGeratorConfigurationRead(out SignalGeneratorSetting SGsetting)
        {
            SGsetting      = new SignalGeneratorSetting();
            SGsetting.Freq = this.RFFrequency;
            this.WaitOpc();
            SGsetting.Offset = this.AmplOffset;
            this.WaitOpc();
            SGsetting.RFPower = this.RFPower;
            this.WaitOpc();
            SGsetting.RFOn = this.RFOutputEnabled;

            return(true);
        }
Beispiel #3
0
 /// <summary>
 /// 读取仪表参数
 /// </summary>
 /// <param name="SGsetting"></param>
 /// <returns></returns>
 public virtual bool SignalGeratorConfigurationRead(out SignalGeneratorSetting SGsetting)
 {
     SGsetting = new SignalGeneratorSetting();
     return(false);
 }
Beispiel #4
0
 /// <summary>
 /// 写入仪表参数
 /// </summary>
 /// <param name="SGsetting"></param>
 /// <returns></returns>
 public virtual bool SignalGeratorConfigure(SignalGeneratorSetting SGsetting)
 {
     return(false);
 }