//glennj 1/7/2014
        /// <summary>
        /// Test the AWG output off state for an expected state
        /// </summary>
        /// <param name="awg"></param>
        /// <param name="expectedState"></param>
        public void AllOutputsOffStateShouldBe(IAWG awg, OutputOffStateMode expectedState)
        {
            var          expectedSyntax      = (expectedState == OutputOffStateMode.On) ? SyntaxForReturnedOutputStateOn : SyntaxForReturnedOutputStateOff;
            const string possibleErrorString = ErrorStringCheckingOutputOffStateForAwg;

            Assert.AreEqual(expectedSyntax, awg.OutputOffState, possibleErrorString);
        }
        //glennj 1/7/2014
        /// <summary>
        /// Set the output "off" state for the AWG
        /// </summary>
        /// <param name="awg">Object</param>
        /// <param name="enable">state</param>
        public void SetOutputOffMode(IAWG awg, OutputOffStateMode enable)
        {
            string mode = (enable == OutputOffStateMode.On) ? SyntaxForOutputStateOn : SyntaxForOutputStateOff;

            awg.SetOutputOff(mode);
        }