コード例 #1
0
        // Unkown 01/01/01
        /// <summary>
        /// Selects calibration procedures specified by the selection variable.
        ///
        /// CAL:SEL
        /// </summary>
        /// <param name="awg">the AWG object</param>
        /// <param name="requiredSubsystem">Required at a minimum</param>
        /// <param name="optionalArea">Optional but required if there is procedure</param>
        /// <param name="optionalProcedure">Optional</param>
        public void SelectCal(IAWG awg, string requiredSubsystem, string optionalArea = "", string optionalProcedure = "")
        {
            string dequotedSubsystem = _utils.Dequotify(requiredSubsystem);
            string dequotedArea      = (optionalArea != "") ? _utils.Dequotify(optionalArea) : optionalArea;
            string dequotedProcedure = (optionalProcedure != "") ? _utils.Dequotify(optionalProcedure) : optionalProcedure;

            awg.CalSelect(dequotedSubsystem, dequotedArea, dequotedProcedure);
        }
コード例 #2
0
 // Unkown 01/01/01
 /// <summary>
 /// Selects all calibration procedures.
 /// </summary>
 /// <param name="awg">the AWG object</param>
 public void SelectAllCal(IAWG awg)
 {
     awg.CalSelect("ALL");
 }