Loading...
Searching...
No Matches
AisSteppedVoltageElement Class Referencefinal

A class representing an experiment to apply the stepped volatge. More...

#include <AisSteppedVoltageElement.h>

#include <AisSteppedVoltageElement.h>

Public Member Functions

 AisSteppedVoltageElement (double startVoltage, double endVoltage, double voltageStep, double voltageStepDuration, double samplingInterval)
 Constructor for the AisSteppedVoltageElement element.
 
 AisSteppedVoltageElement (const AisSteppedVoltageElement &other)
 Copy constructor for the AisSteppedVoltageElement object.
 
AisSteppedVoltageElementoperator= (const AisSteppedVoltageElement &other)
 Overloaded assignment operator for the AisSteppedVoltageElement object.
 
 ~AisSteppedVoltageElement () override
 Destructor for the AisSteppedVoltageElement 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 getStartVoltage () const
 Get the starting voltage for the experiment.
 
void setStartVoltage (double vStart)
 Set the starting voltage for the experiment.
 
double getEndVoltage () const
 Get the ending voltage for the experiment.
 
void setEndVoltage (double vEnd)
 Set the ending voltage for the experiment.
 
double getStepSize () const
 Get the voltage step for each iteration.
 
void setStepSize (double vStep)
 Set the voltage step for each iteration.
 
double getStepDuration () const
 Get the time step for each iteration.
 
void setStepDuration (double duration)
 Set the duration of each step.
 
double getSamplingInterval () const
 Get the data sampling interval.
 
void setSamplingInterval (double samplingInterval)
 Set the data sampling interval.
 
double getApproxMaxCurrent () const
 Get the approximate maximum current.
 
void setApproxMaxCurrent (double approxMaxCurrent)
 Set the approximate maximum current.
 
bool isStartVoltageVsOCP () const
 Check if the experiment starts with the open circuit potential.
 
void setStartVoltageVsOCP (bool startVsOCP)
 Set whether the experiment starts with the open circuit potential.
 
bool isEndVoltageVsOCP () const
 Check if the experiment ends with the open circuit potential.
 
void setEndVoltageVsOCP (bool endVsOCP)
 Set whether the experiment ends with the open circuit potential.
 
bool isAutoRange () const
 Check if current autoranging is enabled.
 
void setCurrentAutorange ()
 Enable current autoranging for the experiment.
 

Constructor & Destructor Documentation

◆ AisSteppedVoltageElement() [1/2]

AisSteppedVoltageElement::AisSteppedVoltageElement ( double startVoltage,
double endVoltage,
double voltageStep,
double voltageStepDuration,
double samplingInterval )
explicit

This constructor initializes the AisSteppedVoltageElement element with the specified parameters.

Parameters
startVoltageThe initial voltage value in volts.
endVoltageThe final voltage value in volts.
voltageStepThe size of each voltage step in volts.
voltageStepDurationThe duration of each voltage step in seconds.
samplingIntervalThe data sampling interval value in seconds.

◆ AisSteppedVoltageElement() [2/2]

AisSteppedVoltageElement::AisSteppedVoltageElement ( const AisSteppedVoltageElement & other)
explicit
Parameters
otherThe AisSteppedVoltageElement object to be copied.

Member Function Documentation

◆ getApproxMaxCurrent()

double AisSteppedVoltageElement::getApproxMaxCurrent ( ) const
Returns
The approximate maximum current in Amps.

◆ getCategory()

QStringList AisSteppedVoltageElement::getCategory ( ) const
override
Returns
A list of applicable categories: ("Potentiostatic Control").

◆ getEndVoltage()

double AisSteppedVoltageElement::getEndVoltage ( ) const
Returns
The ending voltage in volts.

◆ getName()

QString AisSteppedVoltageElement::getName ( ) const
override
Returns
The name of the element: "Stepped Voltage".

◆ getSamplingInterval()

double AisSteppedVoltageElement::getSamplingInterval ( ) const
Returns
The data sampling interval in seconds.

◆ getStartVoltage()

double AisSteppedVoltageElement::getStartVoltage ( ) const
Returns
The starting voltage in volts.

◆ getStepDuration()

double AisSteppedVoltageElement::getStepDuration ( ) const
Returns
The time step in seconds.

◆ getStepSize()

double AisSteppedVoltageElement::getStepSize ( ) const
Returns
The voltage step in volts.

◆ isAutoRange()

bool AisSteppedVoltageElement::isAutoRange ( ) const
Returns
True if current autoranging is enabled, false otherwise.

◆ isEndVoltageVsOCP()

bool AisSteppedVoltageElement::isEndVoltageVsOCP ( ) const
Returns
True if the experiment ends with open circuit potential, false otherwise.

◆ isStartVoltageVsOCP()

bool AisSteppedVoltageElement::isStartVoltageVsOCP ( ) const
Returns
True if the experiment starts with open circuit potential, false otherwise.

◆ operator=()

AisSteppedVoltageElement & AisSteppedVoltageElement::operator= ( const AisSteppedVoltageElement & other)
Parameters
otherThe AisSteppedVoltageElement object to be assigned.
Returns
A reference to the assigned AisSteppedVoltageElement object.

◆ setApproxMaxCurrent()

void AisSteppedVoltageElement::setApproxMaxCurrent ( double approxMaxCurrent)
Parameters
approxMaxCurrentThe approximate maximum current in Amps.

◆ setEndVoltage()

void AisSteppedVoltageElement::setEndVoltage ( double vEnd)
Parameters
vEndThe ending voltage in volts.

◆ setEndVoltageVsOCP()

void AisSteppedVoltageElement::setEndVoltageVsOCP ( bool endVsOCP)
Parameters
endVsOCPTrue to end with open circuit potential, false otherwise.

◆ setSamplingInterval()

void AisSteppedVoltageElement::setSamplingInterval ( double samplingInterval)
Parameters
samplingIntervalThe data sampling interval in seconds.

◆ setStartVoltage()

void AisSteppedVoltageElement::setStartVoltage ( double vStart)
Parameters
vStartThe starting voltage in volts.

◆ setStartVoltageVsOCP()

void AisSteppedVoltageElement::setStartVoltageVsOCP ( bool startVsOCP)
Parameters
startVsOCPTrue to start with open circuit potential, false otherwise.

◆ setStepDuration()

void AisSteppedVoltageElement::setStepDuration ( double duration)
Parameters
durationThe step duration in seconds.

◆ setStepSize()

void AisSteppedVoltageElement::setStepSize ( double vStep)
Parameters
vStepThe 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: