/// <summary>
        /// 测试指定迹线的时延差
        /// </summary>
        /// <param name="ref_1">参考迹线</param>
        /// <param name="startEdgeType">参考迹线沿类型</param>
        /// <param name="statEdegePosition">参考位置</param>
        /// <param name="statPulseNumber">参考脉冲数</param>
        /// <param name="meas_1">测试迹线</param>
        /// <param name="stopEdgeType">测试边沿类型</param>
        /// <param name="stopEdegePosition">测试迹线测试位置</param>
        /// <param name="stopPulseNumber">测试脉冲边缘数</param>
        public override void SetMeasureDeltaTime(SourceForMeas ref_1, TestEdgeType startEdgeType, TestEdgePosition statEdegePosition, int statPulseNumber,
                                                 SourceForMeas meas_1, TestEdgeType stopEdgeType, TestEdgePosition stopEdegePosition, int stopPulseNumber)
        {
            string reference   = SourceForMeasSwitchToStr(ref_1);
            string measurement = SourceForMeasSwitchToStr(meas_1);

            this.Send(string.Format(":MEASure:DELTatime:DEFine {0},{1},{2},{3},{4},{5}", startEdgeType, statPulseNumber, statEdegePosition,
                                    stopEdgeType, stopPulseNumber, stopEdegePosition));
            this.WaitOpc();
            this.Send(string.Format(":MEASure:DELTatime {0},{1}", reference, measurement));
            this.WaitOpc();
        }
Example #2
0
        /// <summary>
        /// 测试指定迹线的时延差
        /// </summary>
        /// <param name="ref_1">参考迹线</param>
        /// <param name="startEdgeType">参考迹线沿类型</param>
        /// <param name="statEdegePosition">参考位置</param>
        /// <param name="statPulseNumber">参考脉冲数</param>
        /// <param name="meas_1">测试迹线</param>
        /// <param name="stopEdgeType">测试边沿类型</param>
        /// <param name="stopEdegePosition">测试迹线测试位置</param>
        /// <param name="stopPulseNumber">测试脉冲边缘数</param>
        public override void SetMeasureDeltaTime(SourceForMeas ref_1, TestEdgeType startEdgeType, TestEdgePosition statEdegePosition, int statPulseNumber,
                                                 SourceForMeas meas_1, TestEdgeType stopEdgeType, TestEdgePosition stopEdegePosition, int stopPulseNumber)
        {
            string reference   = SourceForMeasSwitchToStr(ref_1);
            string measurement = SourceForMeasSwitchToStr(meas_1);
            string refname     = "";
            string measname    = "";

            if (startEdgeType == TestEdgeType.FALLing)
            {
                refname           = "-" + statPulseNumber;
                statEdegePosition = TestEdgePosition.LOWer;
            }
            else
            {
                refname           = "+" + statPulseNumber;
                statEdegePosition = TestEdgePosition.UPPer;
            }
            if (stopEdgeType == TestEdgeType.FALLing)
            {
                measname          = "-" + stopPulseNumber;
                stopEdegePosition = TestEdgePosition.LOWer;
            }
            else
            {
                measname          = "+" + stopPulseNumber;
                stopEdegePosition = TestEdgePosition.UPPer;
            }

            this.Send(string.Format(":MEASure:DEFine DELay,{0},{1}", refname, measname));
            this.WaitOpc();
            this.Send(string.Format(":MEASure:DEFine THResholds,{0},{1}", statEdegePosition, stopEdegePosition));
            this.WaitOpc();
            this.Send(string.Format(":MEASure:DELTatime {0},{1}", reference, measurement));
            this.WaitOpc();
        }
Example #3
0
        /// <summary>
/// 测试指定迹线的时延差
/// </summary>
/// <param name="ref_1">参考迹线</param>
/// <param name="startEdgeType">参考迹线沿类型</param>
/// <param name="statEdegePosition">参考位置</param>
/// <param name="statPulseNumber">参考脉冲数</param>
/// <param name="meas_1">测试迹线</param>
/// <param name="stopEdgeType">测试边沿类型</param>
/// <param name="stopEdegePosition">测试迹线测试位置</param>
/// <param name="stopPulseNumber">测试脉冲边缘数</param>
        abstract public void SetMeasureDeltaTime(SourceForMeas ref_1, TestEdgeType startEdgeType, TestEdgePosition statEdegePosition, int statPulseNumber,
                                                 SourceForMeas meas_1, TestEdgeType stopEdgeType, TestEdgePosition stopEdegePosition, int stopPulseNumber);