public override void GetOutputVoltageAmplitude(CHANNLES channel, out double value)
 {
     lock (this)
     {
         value = 10;
     }
 }
Exemplo n.º 2
0
 public virtual void SetPulseDutyCycle(CHANNLES channel, double dutyCycle)
 {
     lock (this)
     {
         pAg3352xChannel.OutputFunction.Pulse.DutyCycle = dutyCycle;
     }
 }
 public override void GetOutputFrequency(CHANNLES channel, out double frequencyInHz)
 {
     lock (this)
     {
         frequencyInHz = 1000;
     }
 }
 public override Ag3352xOutputFunctionEnum GetOutputFunction(CHANNLES channel)
 {
     lock (this)
     {
         return(Ag3352xOutputFunctionEnum.Ag3352xOutputFunctionArbitrary);
     }
 }
Exemplo n.º 5
0
 public virtual void SetPulsePeriod(CHANNLES channel, double period)
 {
     lock (this)
     {
         pAg3352xChannel.OutputFunction.Pulse.Period = 1E-3;
     }
 }
Exemplo n.º 6
0
 public virtual void SetPulseWidth(CHANNLES channel, double value)
 {
     lock (this)
     {
         pAg3352xChannel.OutputFunction.Pulse.Width = value;
     }
 }
Exemplo n.º 7
0
 public virtual void SetPulseTransitionEdgeTime(CHANNLES channel, double edgeTime)
 {
     lock (this)
     {
         pAg3352xChannel.OutputFunction.Pulse.Transition.EdgeTime = edgeTime;
     }
 }
Exemplo n.º 8
0
 public virtual void GetOutputVoltageAmplitude(CHANNLES channel, out double value)
 {
     lock (this)
     {
         SetChannel(channel);
         value = pAg3352xChannel.Output.Voltage.Amplitude;
     }
 }
Exemplo n.º 9
0
 public virtual void OutputEnable(CHANNLES channel, bool enable)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.Output.Enabled = enable;
     }
 }
Exemplo n.º 10
0
 public virtual void OutputLoad(CHANNLES channel, double value)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.Output3.Load = value;
     }
 }
Exemplo n.º 11
0
 public virtual void SetAMDepth(CHANNLES channel, double value)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.AM.Depth = value;
     }
 }
Exemplo n.º 12
0
 public virtual void SetAMInternalFrequency(CHANNLES channel, double value)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.AM.InternalFrequency = 1000;
     }
 }
Exemplo n.º 13
0
 public virtual void SetAMSource(CHANNLES channel, Ag3352xModulationSourceEnum source)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.AM.Source = source;
     }
 }
Exemplo n.º 14
0
 public virtual void SetAMMode(CHANNLES channel, Ag3352xAMModeEnum mode)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.AM.Mode = Ag3352xAMModeEnum.Ag3352xAMModeDSSC;
     }
 }
Exemplo n.º 15
0
 public virtual void SetOutput2VoltageAmplitude(CHANNLES channel, double value)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.Output2.Voltage.Amplitude = value;
     }
 }
Exemplo n.º 16
0
 public virtual void SetDCOffset(CHANNLES channel, double value)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.Output.Voltage.Offset.DCOffset = value;
     }
 }
Exemplo n.º 17
0
 public virtual void GetOutputFrequency(CHANNLES channel, out double frequencyInHz)
 {
     lock (this)
     {
         SetChannel(channel);
         frequencyInHz = pAg3352xChannel.Output.Frequency;
     }
 }
Exemplo n.º 18
0
 public virtual void SetOutputFrequency(CHANNLES channel, double frequencyInHz)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.Output.Frequency = frequencyInHz;
     }
 }
Exemplo n.º 19
0
 public virtual Ag3352xOutputFunctionEnum GetOutputFunction(CHANNLES channel)
 {
     lock (this)
     {
         SetChannel(channel);
         return(pAg3352xChannel.OutputFunction.Function);
     }
 }
Exemplo n.º 20
0
 public virtual void SetAMInternalFunction(CHANNLES channel, Ag3352xModulationInternalFunctionEnum function)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.AM.InternalFunction = function;
     }
 }
Exemplo n.º 21
0
 public virtual void AMEnabled(CHANNLES channel, bool en)
 {
     lock (this)
     {
         SetChannel(channel);
         pAg3352xChannel.AM.Enabled = en;
     }
 }
 public override void GetOutputLoadMinMax(CHANNLES channel, out double min, out double max)
 {
     lock (this)
     {
         min = 1;
         max = 2;
     }
 }
Exemplo n.º 23
0
        public virtual void SetOutputFunction(CHANNLES channel, Ag3352xOutputFunctionEnum function)
        {
            lock (this)
            {
                SetChannel(channel);

                pAg3352xChannel.OutputFunction.Function = function;
            }
        }
Exemplo n.º 24
0
 public virtual void GetOutputLoadMinMax(CHANNLES channel, out double min, out double max)
 {
     lock (this)
     {
         SetChannel(channel);
         min = pAg3352xChannel.Output3.LoadMin;
         max = pAg3352xChannel.Output3.LoadMax;
     }
 }
Exemplo n.º 25
0
 public virtual void SetChannel(CHANNLES channel)
 {
     if (m_channel == channel)
     {
         return;
     }
     if (channel == CHANNLES.Channel1)
     {
         pAg3352xChannel = driver.Channels3.get_Item3("Channel1");
         m_channel       = channel;
     }
     if (channel == CHANNLES.Channel2)
     {
         pAg3352xChannel = driver.Channels3.get_Item3("Channel2");
         m_channel       = channel;
     }
 }
 public override void SetOutputVoltageAmplitude(CHANNLES channel, double value)
 {
     lock (this)
     {
     }
 }
 public override void SetChannel(CHANNLES channel)
 {
 }
 public override void OutputLoad(CHANNLES channel, double value)
 {
     lock (this)
     {
     }
 }
 public override void SetOutputFrequency(CHANNLES channel, double frequencyInHz)
 {
     lock (this)
     {
     }
 }
 public override void SetOutputFunction(CHANNLES channel, Ag3352xOutputFunctionEnum function)
 {
     lock (this)
     {
     }
 }