Example #1
0
        public override double GetLowLevel(int channel)
        {
            CheckChannelParam(channel);
            string      response = WriteRawQuery("C" + channel + ":BSWV?");
            SDGResponse r        = new SDGResponse(response);

            return(r.LowLevel);
        }
Example #2
0
        public override WaveformType GetWaveformType(int channel)
        {
            CheckChannelParam(channel);
            string      response = WriteRawQuery("C" + channel + ":BSWV?");
            SDGResponse r        = new SDGResponse(response);

            return(r.Wavetype);
        }
Example #3
0
        public override double GetFrequency(int channel)
        {
            CheckChannelParam(channel);
            string      response = WriteRawQuery("C" + channel + ":BSWV?");
            SDGResponse r        = new SDGResponse(response);

            return(r.Frequency);
            //C1:BSWV WVTP,SINE,FRQ,60HZ,PERI,0.0166667S,AMP,4V,AMPVRMS,1.414Vrms,OFST,0V,HLEV,2V,LLEV,-2V,PHSE,0
        }