/// <summary> /// No alternate set of constants can be passed in. /// </summary> /// <param name="awg">the AWG object</param> /// <param name="requiredSubsystem"></param> /// <param name="optionalArea"></param> /// <param name="optionalProcedure"></param> public void SetTheAWGUserCalibrationData(IAWG awg, string requiredSubsystem, string optionalArea = "", string optionalProcedure = "") { _utils.ValidateXML(awg.CalibrationDataUser); // Throws an exception if the xml is not valid awg.CalDataUser(awg.CalibrationDataUser, requiredSubsystem, optionalArea, optionalProcedure); }