![]() |
This experiment sweeps the potential of the working electrode back and forth between the first voltage-limit and the second voltage-limit at a constant scan rate (dE/dt) for a specified number of cycles. More...
#include <AisCyclicVoltammetryElement.h>
#include <AisCyclicVoltammetryElement.h>
Public Member Functions | |
| AisCyclicVoltammetryElement (double startVoltage, double firstVoltageLimit, double secondVoltageLimit, double endVoltage, double dEdt, double samplingInterval) | |
| constructor of the cyclic voltammetry element. | |
| AisCyclicVoltammetryElement (const AisCyclicVoltammetryElement &) | |
| copy constructor for the AisCyclicVoltammetryElement object. | |
| AisCyclicVoltammetryElement & | operator= (const AisCyclicVoltammetryElement &) |
| overload equal to operator for the AisCyclicVoltammetryElement 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 potential sampling interval. | |
| void | setQuietTimeSamplingInterval (double quietTimeSamplingInterval) |
| Sets the quiet time sampling interval. | |
| double | getStartVoltage () const |
| get the value set for the start voltage | |
| void | setStartVoltage (double startVoltage) |
| set the value for the start voltage. | |
| bool | isStartVoltageVsOCP () const |
| tells whether the start voltage is set with respect to the open circuit voltage or not. | |
| void | setStartVoltageVsOCP (bool startVoltageVsOCP) |
| set whether to reference the start voltage against the open-circuit voltage or the reference terminal. | |
| double | getFirstVoltageLimit () const |
| get the value set for the first voltage-limit. | |
| void | setFirstVoltageLimit (double v1) |
| set the first voltage-limit | |
| bool | isFirstVoltageLimitVsOCP () const |
| tells whether the first voltage-limit is set with respect to the open circuit voltage or not. | |
| void | setFirstVoltageLimitVsOCP (bool firstVoltageLimitVsOCP) |
| set whether to reference the first voltage-limit against the open-circuit voltage or not. | |
| double | getSecondVoltageLimit () const |
| get the value set for the second voltage-limit | |
| void | setSecondVoltageLimit (double v2) |
| set the second voltage-limit | |
| bool | isSecondVoltageLimitVsOCP () const |
| tells whether the second voltage-limit is set with respect to the open circuit voltage or not. | |
| void | setSecondVoltageLimitVsOCP (bool secondVoltageLimitVsOCP) |
| set whether to reference the second voltage-limit against the open-circuit voltage or not. | |
| unsigned int | getNumberOfCycles () |
| get the value set for the number of cycles | |
| void | setNumberOfCycles (unsigned int cycles) |
| set the number of cycles to oscillate between the first voltage-limit and the second voltage-limit. | |
| double | getEndVoltage () const |
| get the value set for the ending potential value. | |
| void | setEndVoltage (double endVoltage) |
| 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 | getdEdt () const |
| get the value set for the constant scan rate dE/dt. | |
| void | setdEdt (double dEdt) |
| set the value for the constant scan rate dE/dt. | |
| double | getSamplingInterval () const |
| get how frequently we are sampling the data. | |
| void | setSamplingInterval (double sampInterval) |
| 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 | 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 |
| startVoltage | the value of the start voltage in volts |
| firstVoltageLimit | the value of the first voltage-limit in volts |
| secondVoltageLimit | the value of the second voltage-limit in volts |
| endVoltage | the value of the end voltage in volts |
| dEdt | the constant scan rate dE/dt in V/s. |
| samplingInterval | the data sampling interval value in seconds. |
| double AisCyclicVoltammetryElement::getAlphaFactor | ( | ) | const |
| double AisCyclicVoltammetryElement::getApproxMaxCurrent | ( | ) | const |
|
override |
| double AisCyclicVoltammetryElement::getdEdt | ( | ) | const |
| double AisCyclicVoltammetryElement::getEndVoltage | ( | ) | const |
This is the value of the voltage at which the experiment will stop. After the last cycle, the experiment will do one last sweep towards this value.
| double AisCyclicVoltammetryElement::getFirstVoltageLimit | ( | ) | const |
After the starting voltage, the scan will go to the first voltage-limit. This could result in either upward scan first if the first voltage-limit is higher than the start voltage or downward scan first if the first voltage-limit is lower than the start voltage.
|
override |
| unsigned int AisCyclicVoltammetryElement::getNumberOfCycles | ( | ) |
| double AisCyclicVoltammetryElement::getQuietTime | ( | ) | const |
| double AisCyclicVoltammetryElement::getQuietTimeSamplingInterval | ( | ) | const |
| double AisCyclicVoltammetryElement::getSamplingInterval | ( | ) | const |
| double AisCyclicVoltammetryElement::getSecondVoltageLimit | ( | ) | const |
After starting from the start-voltage and reaching the first voltage-limit, the scan will go to the second voltage limit. The scan will continue to oscillate between the first and second voltage-limits according to the number of cycles.
| double AisCyclicVoltammetryElement::getStartVoltage | ( | ) | const |
| bool AisCyclicVoltammetryElement::isAutoRange | ( | ) | const |
| bool AisCyclicVoltammetryElement::isEndVoltageVsOCP | ( | ) | const |
| bool AisCyclicVoltammetryElement::isFirstVoltageLimitVsOCP | ( | ) | const |
| bool AisCyclicVoltammetryElement::isSecondVoltageLimitVsOCP | ( | ) | const |
| bool AisCyclicVoltammetryElement::isStartVoltageVsOCP | ( | ) | const |
| void AisCyclicVoltammetryElement::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 AisCyclicVoltammetryElement::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 AisCyclicVoltammetryElement::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 AisCyclicVoltammetryElement::setdEdt | ( | double | dEdt | ) |
| dEdt | the value set for the constant scan rate dE/dt in V/s. |
| void AisCyclicVoltammetryElement::setEndVoltage | ( | double | endVoltage | ) |
This is the value of the voltage at which the experiment will stop. After the last cycle, the experiment will do one last sweep towards this value.
| endVoltage | the value to set for the ending potential in volts. |
| void AisCyclicVoltammetryElement::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 AisCyclicVoltammetryElement::setFirstVoltageLimit | ( | double | v1 | ) |
After the starting voltage, the scan will go to the first voltage-limit. This could result in either upward scan first if the first voltage-limit is higher than the start voltage or downward scan first if the first voltage-limit is lower than the start voltage.
| v1 | first voltage-limit value in volts |
| void AisCyclicVoltammetryElement::setFirstVoltageLimitVsOCP | ( | bool | firstVoltageLimitVsOCP | ) |
The reference terminal is for you to connect to any reference point you like. Connect it to the working electrode to reference ground.
| firstVoltageLimitVsOCP | true to set the upper voltage to be referenced against the open-circuit voltage and false otherwise. |
| void AisCyclicVoltammetryElement::setNumberOfCycles | ( | unsigned int | cycles | ) |
| cycles | the number of cycles to set |
| void AisCyclicVoltammetryElement::setQuietTime | ( | double | quietTime | ) |
| quietTime | The quiet time duration to set in seconds. |
| void AisCyclicVoltammetryElement::setQuietTimeSamplingInterval | ( | double | quietTimeSamplingInterval | ) |
| quietTimeSamplingInterval | The quiet time sampling interval to set in seconds. |
| void AisCyclicVoltammetryElement::setSamplingInterval | ( | double | sampInterval | ) |
| sampInterval | the data sampling interval value in seconds. |
| void AisCyclicVoltammetryElement::setSecondVoltageLimit | ( | double | v2 | ) |
After starting from the start-voltage and reaching the first voltage-limit, the scan will go to the second voltage limit. The scan will continue to oscillate between the first and second voltage-limits according to the number of cycles.
| v2 | the second voltage-limit value in volts |
| void AisCyclicVoltammetryElement::setSecondVoltageLimitVsOCP | ( | bool | secondVoltageLimitVsOCP | ) |
The reference terminal is for you to connect to any reference point you like. Connect it to the working electrode to reference ground.
| secondVoltageLimitVsOCP | true to set the second voltage-limit to be referenced against the open-circuit voltage and false otherwise. |
| void AisCyclicVoltammetryElement::setStartVoltage | ( | double | startVoltage | ) |
| startVoltage | the value of the start voltage in volts |
| void AisCyclicVoltammetryElement::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 start voltage is set to reference the open-circuit voltage and false if set against the reference terminal. |