//glennj 6/11/2013
        /// <summary>
        /// Sets the halt value to what is specified in the setValue variable.
        /// </summary>
        /// <param name="awg">the AWG object</param>
        /// <param name="haltMode">set the boolean HALT variable.</param>
        public void SetCalibrationHalt(IAWG awg, CalibrationControlHaltMode haltMode)
        {
            string haltSyntax = (haltMode == CalibrationControlHaltMode.On)
                                    ? CalibrationControlHaltOnSyntaxSend
                                    : CalibrationControlHaltOffSyntaxSend;

            awg.CalHalt(haltSyntax);
        }