public override void GetOutputVoltageAmplitude(CHANNLES channel, out double value) { lock (this) { value = 10; } }
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); } }
public virtual void SetPulsePeriod(CHANNLES channel, double period) { lock (this) { pAg3352xChannel.OutputFunction.Pulse.Period = 1E-3; } }
public virtual void SetPulseWidth(CHANNLES channel, double value) { lock (this) { pAg3352xChannel.OutputFunction.Pulse.Width = value; } }
public virtual void SetPulseTransitionEdgeTime(CHANNLES channel, double edgeTime) { lock (this) { pAg3352xChannel.OutputFunction.Pulse.Transition.EdgeTime = edgeTime; } }
public virtual void GetOutputVoltageAmplitude(CHANNLES channel, out double value) { lock (this) { SetChannel(channel); value = pAg3352xChannel.Output.Voltage.Amplitude; } }
public virtual void OutputEnable(CHANNLES channel, bool enable) { lock (this) { SetChannel(channel); pAg3352xChannel.Output.Enabled = enable; } }
public virtual void OutputLoad(CHANNLES channel, double value) { lock (this) { SetChannel(channel); pAg3352xChannel.Output3.Load = value; } }
public virtual void SetAMDepth(CHANNLES channel, double value) { lock (this) { SetChannel(channel); pAg3352xChannel.AM.Depth = value; } }
public virtual void SetAMInternalFrequency(CHANNLES channel, double value) { lock (this) { SetChannel(channel); pAg3352xChannel.AM.InternalFrequency = 1000; } }
public virtual void SetAMSource(CHANNLES channel, Ag3352xModulationSourceEnum source) { lock (this) { SetChannel(channel); pAg3352xChannel.AM.Source = source; } }
public virtual void SetAMMode(CHANNLES channel, Ag3352xAMModeEnum mode) { lock (this) { SetChannel(channel); pAg3352xChannel.AM.Mode = Ag3352xAMModeEnum.Ag3352xAMModeDSSC; } }
public virtual void SetOutput2VoltageAmplitude(CHANNLES channel, double value) { lock (this) { SetChannel(channel); pAg3352xChannel.Output2.Voltage.Amplitude = value; } }
public virtual void SetDCOffset(CHANNLES channel, double value) { lock (this) { SetChannel(channel); pAg3352xChannel.Output.Voltage.Offset.DCOffset = value; } }
public virtual void GetOutputFrequency(CHANNLES channel, out double frequencyInHz) { lock (this) { SetChannel(channel); frequencyInHz = pAg3352xChannel.Output.Frequency; } }
public virtual void SetOutputFrequency(CHANNLES channel, double frequencyInHz) { lock (this) { SetChannel(channel); pAg3352xChannel.Output.Frequency = frequencyInHz; } }
public virtual Ag3352xOutputFunctionEnum GetOutputFunction(CHANNLES channel) { lock (this) { SetChannel(channel); return(pAg3352xChannel.OutputFunction.Function); } }
public virtual void SetAMInternalFunction(CHANNLES channel, Ag3352xModulationInternalFunctionEnum function) { lock (this) { SetChannel(channel); pAg3352xChannel.AM.InternalFunction = function; } }
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; } }
public virtual void SetOutputFunction(CHANNLES channel, Ag3352xOutputFunctionEnum function) { lock (this) { SetChannel(channel); pAg3352xChannel.OutputFunction.Function = function; } }
public virtual void GetOutputLoadMinMax(CHANNLES channel, out double min, out double max) { lock (this) { SetChannel(channel); min = pAg3352xChannel.Output3.LoadMin; max = pAg3352xChannel.Output3.LoadMax; } }
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) { } }