private Oscillograph(IO.IStringStream stream) : base(stream)
        {
            IList <string> initCommands = new List <string>()
            {
                { "Hdr Off" },
                { "Measurement:Meas1:State OFF" },
                { "Measurement:Meas2:State OFF" },
                { "Measurement:Meas3:State OFF" },
                { "Measurement:Meas4:State OFF" },
                { "Measurement:Meas1:Type Delay" },
                { "Measurement:Meas1:Delay:Direction Forwards" },
                { "Measurement:Meas1:Delay:Edge1 Rise" },
                { "Measurement:Meas1:Delay:Edge2 Rise" },
                { "Measurement:Meas1:Source CH1" },
                { "Measurement:Meas1:Source2 CH2" },
                { "Measurement:Meas1:State ON" },
                { "Measurement:Meas2:Type Delay" },
                { "Measurement:Meas2:Delay:Direction Forwards" },
                { "Measurement:Meas2:Delay:Edge1 Fall" },
                { "Measurement:Meas2:Delay:Edge2 Fall" },
                { "Measurement:Meas2:Source CH1" },
                { "Measurement:Meas2:Source2 CH2" },
                { "Measurement:Meas2:State ON" }
            };

            this.InitCommands = initCommands;
        }
示例#2
0
 public Mark(
     string id,
     Channel channel,
     IO.IStringStream io,
     string frequency)
 {
     this.id = id;
     this.channel = channel;
     this.io = io;
     this.frequency = frequency;
 }
示例#3
0
 public Mark(
     string id,
     Channel channel,
     IO.IStringStream io,
     string frequency)
 {
     this.id        = id;
     this.channel   = channel;
     this.io        = io;
     this.frequency = frequency;
 }
示例#4
0
        private NetworkAnalyzer(IO.IStringStream stream)
            : base(stream)
        {
            this._activeChannel = string.Empty;

            IList <string> initCmd = new List <string>()
            {
                //                 {"PRES"},
            };

            this.InitCommands = initCmd;
        }
        protected GPIBDeviceBase(IO.IStringStream stream)
        {
            this.WorkerStream = stream;
            this.InitCommands = new List <string>();

//             if (Yaguang.VJK3G.GUI.Program.Debug)
//             {
//                 this.WorkerStream = new IO.StringStreamStub();
//             }
//             else
//             {
//                 this.WorkerStream = IO.GPIB.Open(this.gpibAddress);
//             }
        }