/// <summary>
            /// Sets sense SENSE_LOCAL (2-wire) or SENSE_REMOTE (4-wire)
            /// </summary>
            /// <param name="Channel">Channel</param>
            /// <param name="Sense">Sense</param>
            public void SetSence(KEITHLEY_2602A_Channels Channel, KEITHLEY_2602A_Sense Sense)
            {
                var SetSenseScript =
                    "smu{0}.sense = smu{0}.{1}";

                CommandBuilder = new StringBuilder();

                switch (Channel)
                {
                case KEITHLEY_2602A_Channels.ChannelA:
                {
                    switch (Sense)
                    {
                    case KEITHLEY_2602A_Sense.SENSE_LOCAL:
                    {
                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "a", "SENSE_LOCAL").ToString();
                        SendCommandRequest(SetSenseScript);
                    } break;

                    case KEITHLEY_2602A_Sense.SENSE_REMOTE:
                    {
                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "a", "SENSE_REMOTE").ToString();
                        SendCommandRequest(SetSenseScript);
                    } break;

                    default:
                        break;
                    }
                } break;

                case KEITHLEY_2602A_Channels.ChannelB:
                {
                    switch (Sense)
                    {
                    case KEITHLEY_2602A_Sense.SENSE_LOCAL:
                    {
                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "b", "SENSE_LOCAL").ToString();
                        SendCommandRequest(SetSenseScript);
                    } break;

                    case KEITHLEY_2602A_Sense.SENSE_REMOTE:
                    {
                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "b", "SENSE_REMOTE").ToString();
                        SendCommandRequest(SetSenseScript);
                    } break;

                    default:
                        break;
                    }
                } break;

                default:
                    break;
                }
            }
            /// <summary>
            /// Sets sense SENSE_LOCAL (2-wire) or SENSE_REMOTE (4-wire)
            /// </summary>
            /// <param name="Channel">Channel</param>
            /// <param name="Sense">Sense</param>
            public void SetSence(KEITHLEY_2602A_Channels Channel, KEITHLEY_2602A_Sense Sense)
            {
                var SetSenseScript =
                    "smu{0}.sense = smu{0}.{1}";

                CommandBuilder = new StringBuilder();

                switch (Channel)
                {
                    case KEITHLEY_2602A_Channels.ChannelA:
                        {
                            switch (Sense)
                            {
                                case KEITHLEY_2602A_Sense.SENSE_LOCAL:
                                    {
                                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "a", "SENSE_LOCAL").ToString();
                                        SendCommandRequest(SetSenseScript);
                                    } break;
                                case KEITHLEY_2602A_Sense.SENSE_REMOTE:
                                    {
                                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "a", "SENSE_REMOTE").ToString();
                                        SendCommandRequest(SetSenseScript);
                                    } break;
                                default:
                                    break;
                            }
                        } break;
                    case KEITHLEY_2602A_Channels.ChannelB:
                        {
                            switch (Sense)
                            {
                                case KEITHLEY_2602A_Sense.SENSE_LOCAL:
                                    {
                                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "b", "SENSE_LOCAL").ToString();
                                        SendCommandRequest(SetSenseScript);
                                    } break;
                                case KEITHLEY_2602A_Sense.SENSE_REMOTE:
                                    {
                                        SetSenseScript = CommandBuilder.AppendFormat(SetSenseScript, "b", "SENSE_REMOTE").ToString();
                                        SendCommandRequest(SetSenseScript);
                                    } break;
                                default:
                                    break;
                            }
                        } break;
                    default:
                        break;
                }
            }