![]()  | 
 
this experiment performs a DC potential sweep from the starting current to the ending current which progresses linearly according to the scan rate. More...
#include <AisDCPotentialSweepElement.h>
#include <AisDCPotentialSweepElement.h>
Public Member Functions | |
| AisDCPotentialSweepElement (double startPotential, double endPotential, double scanRate, double samplingInterval) | |
| the potential sweep element constructor.   | |
| AisDCPotentialSweepElement (const AisDCPotentialSweepElement &) | |
| copy constructor for the AisDCPotentialSweepElement object.  | |
| AisDCPotentialSweepElement & | operator= (const AisDCPotentialSweepElement &) | 
| overload equal to operator for the AisDCPotentialSweepElement object.  | |
| QString | getName () const override | 
| get the name of the element.   | |
| QStringList | getCategory () const override | 
| get a list of applicable categories of the element.   | |
| double | getQuietTime () const | 
| Gets the quiet time duration.   | |
| void | setQuietTime (double quietTime) | 
| Sets the quiet time duration.   | |
| double | getQuietTimeSamplingInterval () const | 
| gets the quiet time sampling interval.   | |
| void | setQuietTimeSamplingInterval (double quietTimeSamplingInterval) | 
| Sets the quiet time sampling interval.   | |
| double | getStartingPot () const | 
| get the value set for the starting potential.   | |
| void | setStartingPot (double startingPotential) | 
| set the value for the starting potential.   | |
| bool | isStartVoltageVsOCP () const | 
| tells whether the starting potential is set against the open-circuit voltage or the reference terminal.   | |
| void | setStartVoltageVsOCP (bool startVoltageVsOCP) | 
| set whether to reference the starting potential against the open-circuit voltage or the reference terminal.   | |
| double | getEndingPot () const | 
| get the value set for the ending potential value.   | |
| void | setEndingPot (double endingPotential) | 
| set the ending potential value.   | |
| bool | isEndVoltageVsOCP () const | 
| tells whether the end voltage is set with respect to the open circuit voltage or the reference terminal.   | |
| void | setEndVoltageVsOCP (bool endVoltageVsOCP) | 
| set whether to reference the end voltage against the open-circuit voltage or the reference terminal.   | |
| double | getScanRate () const | 
| get the value set for the voltage scan rate.   | |
| void | setScanRate (double scanRate) | 
| set the value for the voltage scan rate.   | |
| double | getSamplingInterval () const | 
| get how frequently we are sampling the data.   | |
| void | setSamplingInterval (double samplingInterval) | 
| set how frequently we are sampling the data.   | |
| bool | isAutoRange () const | 
| tells whether the current range is set to auto-select or not.   | |
| void | setAutoRange () | 
| set to auto-select the current range.   | |
| double | getApproxMaxCurrent () const | 
| get the value set for the expected maximum current.   | |
| void | setApproxMaxCurrent (double approxMaxCurrent) | 
| set maximum current expected, for manual current range selection.   | |
| double | getMaxAbsoluteCurrent () const | 
| get the value set for the maximum Current. The experiment will end when it reaches this value.   | |
| void | setMaxAbsoluteCurrent (double maxCurrent) | 
| set a maximum Current to stop the experiment.   | |
| double | getMinAbsoluteCurrent () const | 
| get the value set minimum for the Current in amps.   | |
| void | setMinAbsoluteCurrent (double minCurrent) | 
| set a minimum Current to stop the experiment.   | |
| double | getAlphaFactor () const | 
| Get the value set for the alpha factor.   | |
| void | setAlphaFactor (double alphaFactor) | 
| alpha factor controls the percentage of data sampled during a given interval. Data will be averaged over the last n% of the sampling interval.   | |
      
  | 
  explicit | 
| startPotential | the value of the starting potential in volts | 
| endPotential | the value of the ending potential in volts | 
| scanRate | the voltage scan rate in V/s | 
| samplingInterval | how frequently we are sampling the data. | 
| double AisDCPotentialSweepElement::getAlphaFactor | ( | ) | const | 
| double AisDCPotentialSweepElement::getApproxMaxCurrent | ( | ) | const | 
      
  | 
  override | 
| double AisDCPotentialSweepElement::getEndingPot | ( | ) | const | 
This is the value of the voltage at which the experiment will stop.
| double AisDCPotentialSweepElement::getMaxAbsoluteCurrent | ( | ) | const | 
| double AisDCPotentialSweepElement::getMinAbsoluteCurrent | ( | ) | const | 
      
  | 
  override | 
| double AisDCPotentialSweepElement::getQuietTime | ( | ) | const | 
| double AisDCPotentialSweepElement::getQuietTimeSamplingInterval | ( | ) | const | 
| double AisDCPotentialSweepElement::getSamplingInterval | ( | ) | const | 
| double AisDCPotentialSweepElement::getScanRate | ( | ) | const | 
| double AisDCPotentialSweepElement::getStartingPot | ( | ) | const | 
| bool AisDCPotentialSweepElement::isAutoRange | ( | ) | const | 
| bool AisDCPotentialSweepElement::isEndVoltageVsOCP | ( | ) | const | 
| bool AisDCPotentialSweepElement::isStartVoltageVsOCP | ( | ) | const | 
| void AisDCPotentialSweepElement::setAlphaFactor | ( | double | alphaFactor | ) | 
This is an optional parameter. If nothing is set, the device will use the default value of 75.
| alphaFactor | the value for the alphaFactor ranges from 0 to 100. | 
| void AisDCPotentialSweepElement::setApproxMaxCurrent | ( | double | approxMaxCurrent | ) | 
This is an optional parameter. If nothing is set, the device will auto-select the current range.
| approxMaxCurrent | the value for the maximum current expected in Amps. | 
| void AisDCPotentialSweepElement::setAutoRange | ( | ) | 
This option is set by default. There is no need to call this function to auto-select if the range was not manually set.
| void AisDCPotentialSweepElement::setEndingPot | ( | double | endingPotential | ) | 
This is the value of the voltage at which the experiment will stop.
| endingPotential | the value to set for the ending potential in volts. | 
| void AisDCPotentialSweepElement::setEndVoltageVsOCP | ( | bool | endVoltageVsOCP | ) | 
The reference terminal is for you to connect to any reference point you like. Connect it to the working electrode to reference ground.
| endVoltageVsOCP | true to set the end voltage to be referenced against the open-circuit voltage and false if set against the reference terminal. | 
| void AisDCPotentialSweepElement::setMaxAbsoluteCurrent | ( | double | maxCurrent | ) | 
This is an optional condition. If nothing is set, then the experiment will not stop based on an upper-limit Current value. If a maximum Current is set, the experiment will continue to run as long as the measured Current is below that value with the harware current limitation.
| maxCurrent | the maximum Current value in volts at which the experiment will stop. | 
| void AisDCPotentialSweepElement::setMinAbsoluteCurrent | ( | double | minCurrent | ) | 
This is an optional condition. If nothing is set, then the experiment will not stop based on an lower-limit Current value. If a maximum Current is set, the experiment will continue to run as long as the measured voltage is above that value.
| minCurrent | the minimum Current value in volts at which the experiment will stop. | 
| void AisDCPotentialSweepElement::setQuietTime | ( | double | quietTime | ) | 
| quietTime | The quiet time duration to set in seconds. | 
| void AisDCPotentialSweepElement::setQuietTimeSamplingInterval | ( | double | quietTimeSamplingInterval | ) | 
| quietTimeSamplingInterval | The quiet time sampling interval to set in seconds. | 
| void AisDCPotentialSweepElement::setSamplingInterval | ( | double | samplingInterval | ) | 
| samplingInterval | the data sampling interval value in seconds. | 
| void AisDCPotentialSweepElement::setScanRate | ( | double | scanRate | ) | 
The scan rate represents the value of the discrete voltage step size in one second in the linear sweep.
| scanRate | the value to set for the scan rate. | 
| void AisDCPotentialSweepElement::setStartingPot | ( | double | startingPotential | ) | 
| startingPotential | the value of the starting potential in volts | 
| void AisDCPotentialSweepElement::setStartVoltageVsOCP | ( | bool | startVoltageVsOCP | ) | 
The reference terminal is for you to connect to any reference point you like. Connect it to the working electrode to reference ground.
| startVoltageVsOCP | true to if the starting potential is set to reference the open-circuit voltage and false if set against the reference terminal. |