Loading...
Searching...
No Matches
AisNormalPulseVoltammetryElement Class Referencefinal

This experiment holds the working electrode at a baseline potential during the quiet time, then applies a train of pulses, which increase in amplitude until the final potential is reached. More...

#include <AisNormalPulseVoltammetryElement.h>

#include <AisNormalPulseVoltammetryElement.h>

Public Member Functions

 AisNormalPulseVoltammetryElement (double startVoltage, double endVoltage, double voltageStep, double pulseWidth, double pulsePeriod)
 the normal-pulse-voltammetry element constructor
 
 AisNormalPulseVoltammetryElement (double startVoltage, double endVoltage, double voltageStep, double pulseWidth, double pulsePeriod, double approxMaxCurrent)
 the normal-pulse-voltammetry element constructor
 
 AisNormalPulseVoltammetryElement (const AisNormalPulseVoltammetryElement &)
 copy constructor for the AisNormalPulseVoltammetryElement object.
 
AisNormalPulseVoltammetryElementoperator= (const AisNormalPulseVoltammetryElement &)
 overload equal to operator for the AisNormalPulseVoltammetryElement 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 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 against the open-circuit voltage or the reference terminal.
 
void setStartVoltageVsOCP (bool startVoltageVsOCP)
 set whether to reference the start voltage against the open-circuit voltage or the reference terminal.
 
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 getVStep () const
 get the value set for the voltage step.
 
void setVStep (double vStep)
 set the value for the voltage step.
 
double getPulseWidth () const
 get the value set for the pulse width
 
void setPulseWidth (double pulseWidth)
 set the value in seconds for pulse width.
 
double getPulsePeriod () const
 get the value set for the pulse period.
 
void setPulsePeriod (double pulsePeriod)
 set the value for the pulse period.
 
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.
 

Constructor & Destructor Documentation

◆ AisNormalPulseVoltammetryElement() [1/2]

AisNormalPulseVoltammetryElement::AisNormalPulseVoltammetryElement ( double startVoltage,
double endVoltage,
double voltageStep,
double pulseWidth,
double pulsePeriod )
explicit
Parameters
startVoltagethe value of the starting potential in volts
endVoltagethe value of the ending potential in volts
voltageStepthe value set for the voltage step in volts.
pulseWidththe value for the pulse width in seconds.
pulsePeriodthe value for the pulse period in seconds.

◆ AisNormalPulseVoltammetryElement() [2/2]

AisNormalPulseVoltammetryElement::AisNormalPulseVoltammetryElement ( double startVoltage,
double endVoltage,
double voltageStep,
double pulseWidth,
double pulsePeriod,
double approxMaxCurrent )
explicit
Parameters
startVoltagethe value of the starting potential in volts
endVoltagethe value of the ending potential in volts
voltageStepthe value set for the voltage step in volts.
pulseWidththe value for the pulse width in seconds.
pulsePeriodthe value for the pulse period in seconds.
approxMaxCurrentthe value for the approximate maximum current in amperes.

Member Function Documentation

◆ getAlphaFactor()

double AisNormalPulseVoltammetryElement::getAlphaFactor ( ) const
Returns
The value for the alpha factor is represented as a percent between 0 and 100.
Note
If nothing is set, this function will return a default value of 75.

◆ getApproxMaxCurrent()

double AisNormalPulseVoltammetryElement::getApproxMaxCurrent ( ) const
Returns
the value set for the expected maximum current in Amps.
Note
if nothing was manually set, the device will auto-select the current range and the return value will be positive infinity.

◆ getCategory()

QStringList AisNormalPulseVoltammetryElement::getCategory ( ) const
override
Returns
A list of applicable categories: ("Potentiostatic Control", "Basic Voltammetry", "Pulse Voltammetry").

◆ getEndVoltage()

double AisNormalPulseVoltammetryElement::getEndVoltage ( ) const

This is the value of the voltage at which the experiment will stop.

Returns
the value set for the ending voltage in volts.

◆ getName()

QString AisNormalPulseVoltammetryElement::getName ( ) const
override
Returns
The name of the element: "Normal Pulse Potential Voltammetry".

◆ getPulsePeriod()

double AisNormalPulseVoltammetryElement::getPulsePeriod ( ) const
Returns
the value for the pulse period in seconds.
See also
setPulsePeriod

◆ getPulseWidth()

double AisNormalPulseVoltammetryElement::getPulseWidth ( ) const
Returns
the value of the pulse width in seconds.
See also
setPulseWidth

◆ getQuietTime()

double AisNormalPulseVoltammetryElement::getQuietTime ( ) const
Returns
The quiet time duration in seconds.

◆ getQuietTimeSamplingInterval()

double AisNormalPulseVoltammetryElement::getQuietTimeSamplingInterval ( ) const
Returns
quiet time The quiet time sampling interval to set in seconds.

◆ getStartVoltage()

double AisNormalPulseVoltammetryElement::getStartVoltage ( ) const
Returns
the value of the start voltage in volts.

◆ getVStep()

double AisNormalPulseVoltammetryElement::getVStep ( ) const
Returns
the value set for the voltage step in volts.
See also
setVStep

◆ isAutoRange()

bool AisNormalPulseVoltammetryElement::isAutoRange ( ) const
Returns
true if the current range is set to auto-select and false if a rage has been selected.
Deprecated
This function is deprecated and no longer supports auto range for this element. Specify the current using setApproxMaxCurrent(). The device will determine the appropriate range based on the current value.

◆ isEndVoltageVsOCP()

bool AisNormalPulseVoltammetryElement::isEndVoltageVsOCP ( ) const
Returns
true if the end voltage is set with respect to the open-circuit voltage and false if set against the reference terminal.
Note
if nothing is set, the default is false.

◆ isStartVoltageVsOCP()

bool AisNormalPulseVoltammetryElement::isStartVoltageVsOCP ( ) const
Returns
true if the start voltage is set against the open-circuit voltage and false if it is set against the reference terminal.
Note
if nothing is set, the default is false.
See also
setStartVoltageVsOCP

◆ setAlphaFactor()

void AisNormalPulseVoltammetryElement::setAlphaFactor ( double alphaFactor)

This is an optional parameter. If nothing is set, the device will use the default value of 75.

Parameters
alphaFactorthe value for the alphaFactor ranges from 0 to 100.

◆ setApproxMaxCurrent()

void AisNormalPulseVoltammetryElement::setApproxMaxCurrent ( double approxMaxCurrent)

This is an optional parameter. If nothing is set, the device will auto-select the current range.

Parameters
approxMaxCurrentthe value for the maximum current expected in Amps.

◆ setAutoRange()

void AisNormalPulseVoltammetryElement::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.

Deprecated
This function is deprecated. Use setApproxMaxCurrent() to specify the current range instead.

◆ setEndVoltage()

void AisNormalPulseVoltammetryElement::setEndVoltage ( double endVoltage)

This is the value of the voltage at which the experiment will stop.

Parameters
endVoltagethe value to set for the ending potential in volts.

◆ setEndVoltageVsOCP()

void AisNormalPulseVoltammetryElement::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.

Parameters
endVoltageVsOcptrue to set the end voltage to be referenced against the open-circuit voltage and false if set against the reference terminal.
Note
by default, this is set to false.

◆ setPulsePeriod()

void AisNormalPulseVoltammetryElement::setPulsePeriod ( double pulsePeriod)

The pulse period is the time spent between the starts of two consecutive pulses.

Parameters
pulsePeriodthe value to set for the pulse period in seconds.

◆ setPulseWidth()

void AisNormalPulseVoltammetryElement::setPulseWidth ( double pulseWidth)

The pulse width is the value in seconds for the time spent at the same voltage set for the pulse height.

Parameters
pulseWidththe value to set for the pulse width in seconds.

◆ setQuietTime()

void AisNormalPulseVoltammetryElement::setQuietTime ( double quietTime)
Parameters
quietTimeThe quiet time duration to set in seconds.

◆ setQuietTimeSamplingInterval()

void AisNormalPulseVoltammetryElement::setQuietTimeSamplingInterval ( double quietTimeSamplingInterval)
Parameters
quietTimeSamplingIntervalThe quiet time sampling interval to set in seconds.

◆ setStartVoltage()

void AisNormalPulseVoltammetryElement::setStartVoltage ( double startVoltage)
Parameters
startVoltagethe value of the start voltage in volts

◆ setStartVoltageVsOCP()

void AisNormalPulseVoltammetryElement::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.

Parameters
startVoltageVsOCPtrue to if the start voltage is set to reference the open-circuit voltage and false if set against the reference terminal.
Note
by default, this is set to false.

◆ setVStep()

void AisNormalPulseVoltammetryElement::setVStep ( double vStep)

The voltage step is the voltage difference between the heights of two consecutive pulses.

Parameters
vStepthe value for the voltage step in volts.
Note
Regardless of vStep's sign, the device will determine the step direction based on the start and end voltage.

The documentation for this class was generated from the following file: