/// <summary>
        /// Sets an awg to a cal type
        /// </summary>
        /// <param name="awg">the AWG object</param>
        /// <param name="calType"></param>
        public void SetTheCalibrationTypeToType(IAWG awg, CalibrationType calType)
        {
            string calTypeSyntax = (calType == CalibrationType.External) ? CalibrationTypeExternalSyntax : CalibrationTypeInternalSyntax;

            awg.CalType(calTypeSyntax);
        }