/// <summary>
        /// Using SLISt:SEQuence:STEP:RFlag set the enable flag repeat on or off
        /// </summary>
        /// <param name="awg"></param>
        /// <param name="seqName"></param>
        /// <param name="mode">ON|OFF|0|1</param>
        public void SetSequenceRepeatFlag(IAWG awg, string seqName, SequenceFlagRepeatState mode)
        {
            var flagRepeatMode = "";

            switch (mode)
            {
            case SequenceFlagRepeatState.Off:
                flagRepeatMode = SyntaxForSequenceFlagRepeatStateOff;
                break;

            case SequenceFlagRepeatState.On:
                flagRepeatMode = SyntaxForSequenceFlagRepeatStateOn;
                break;
            }
            awg.SetSequenceRepeatFlag(seqName, flagRepeatMode);
        }
        public void SequenceRepeatFlagShouldBe(IAWG awg, string seqName, SequenceFlagRepeatState expectedRepeatFlagMode)
        {
            string expectedRepeatFlagSetting = "";

            switch (expectedRepeatFlagMode)
            {
            case SequenceFlagRepeatState.Off:
                expectedRepeatFlagSetting = SyntaxForSequenceFlagRepeatStateOff;
                break;

            case SequenceFlagRepeatState.On:
                expectedRepeatFlagSetting = SyntaxForSequenceFlagRepeatStateOn;
                break;
            }
            var possibleErrorString = "Expected: " + expectedRepeatFlagSetting + " Actual: " + awg.SequenceRepeatFlag;

            Assert.AreEqual(expectedRepeatFlagSetting, awg.SequenceRepeatFlag, possibleErrorString);
        }