Squidstat API User Manual
|
this experiment performs a DC current sweep from the starting current to the ending current which progresses linearly according to the scan rate. More...
#include <AisDCCurrentSweepElement.h>
Inherits AisAbstractElement.
Public Member Functions | |
AisDCCurrentSweepElement (double startCurrent, double endCurrent, double scanRate, double samplingInterval) | |
the DC current sweep element. More... | |
AisDCCurrentSweepElement (const AisDCCurrentSweepElement &) | |
copy constructor for the AisDCCurrentSweepElement object. | |
AisDCCurrentSweepElement & | operator= (const AisDCCurrentSweepElement &) |
overload equal to operator for the AisDCCurrentSweepElement object. | |
QString | getName () const override |
get the name of the element. More... | |
QStringList | getCategory () const override |
get a list of applicable categories of the element. More... | |
double | getQuietTime () const |
Gets the quiet time duration. More... | |
void | setQuietTime (double quietTime) |
Sets the quiet time duration. More... | |
double | getQuietTimeSamplingInterval () const |
gets the quiet time sampling interval. More... | |
void | setQuietTimeSamplingInterval (double quietTimeSamplingInterval) |
Sets the quiet time sampling interval. More... | |
double | getStartingCurrent () const |
get the value set for the starting current. More... | |
void | setStartingCurrent (double startingCurrent) |
set the value for the starting current. More... | |
double | getEndingCurrent () const |
get the value set for the ending current. More... | |
void | setEndingCurrent (double endingCurrent) |
set the value for the ending current. More... | |
double | getScanRate () const |
get the value set for the scan rate. More... | |
void | setScanRate (double scanRate) |
set the value for the current scan rate. More... | |
double | getSamplingInterval () const |
get how frequently we are sampling the data. More... | |
void | setSamplingInterval (double samplingInterval) |
set how frequently we are sampling the data. More... | |
double | getMaxVoltage () const |
get the value set for the maximum voltage. The experiment will end when it reaches this value. More... | |
void | setMaxVoltage (double maxVoltage) |
set a maximum voltage to stop the experiment. More... | |
double | getMinVoltage () const |
get the value set minimum for the voltage in volts. More... | |
void | setMinVoltage (double minVoltage) |
set a minimum voltage to stop the experiment. More... | |
double | getAlphaFactor () const |
Get the value set for the alpha factor. More... | |
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. More... | |
this experiment performs a DC current sweep from the starting current to the ending current which progresses linearly according to the scan rate.
|
explicit |
the DC current sweep element.
startCurrent | the value for the starting current in Amps. |
endCurrent | the value for the ending current in Amps. |
scanRate | the value for the current scan rate in A/s. |
samplingInterval | how frequently we are sampling the data. |
double AisDCCurrentSweepElement::getAlphaFactor | ( | ) | const |
Get the value set for the alpha factor.
|
override |
get a list of applicable categories of the element.
double AisDCCurrentSweepElement::getEndingCurrent | ( | ) | const |
get the value set for the ending current.
double AisDCCurrentSweepElement::getMaxVoltage | ( | ) | const |
get the value set for the maximum voltage. The experiment will end when it reaches this value.
double AisDCCurrentSweepElement::getMinVoltage | ( | ) | const |
get the value set minimum for the voltage in volts.
|
override |
get the name of the element.
double AisDCCurrentSweepElement::getQuietTime | ( | ) | const |
Gets the quiet time duration.
double AisDCCurrentSweepElement::getQuietTimeSamplingInterval | ( | ) | const |
gets the quiet time sampling interval.
double AisDCCurrentSweepElement::getSamplingInterval | ( | ) | const |
get how frequently we are sampling the data.
double AisDCCurrentSweepElement::getScanRate | ( | ) | const |
get the value set for the scan rate.
double AisDCCurrentSweepElement::getStartingCurrent | ( | ) | const |
get the value set for the starting current.
void AisDCCurrentSweepElement::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.
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 AisDCCurrentSweepElement::setEndingCurrent | ( | double | endingCurrent | ) |
set the value for the ending current.
endingCurrent | the value for the ending current in Amps |
void AisDCCurrentSweepElement::setMaxVoltage | ( | double | maxVoltage | ) |
set a maximum voltage to stop the experiment.
This is an optional condition. If nothing is set, then the experiment will not stop based on an upper-limit voltage value. If a maximum voltage is set, the experiment will continue to run as long as the measured voltage is below that value.
maxVoltage | the maximum voltage value in volts at which the experiment will stop. |
void AisDCCurrentSweepElement::setMinVoltage | ( | double | minVoltage | ) |
set a minimum voltage to stop the experiment.
This is an optional condition. If nothing is set, then the experiment will not stop based on an lower-limit voltage value. If a maximum voltage is set, the experiment will continue to run as long as the measured voltage is above that value.
minVoltage | the minimum voltage value in volts at which the experiment will stop. |
void AisDCCurrentSweepElement::setQuietTime | ( | double | quietTime | ) |
Sets the quiet time duration.
quietTime | The quiet time duration to set in seconds. |
void AisDCCurrentSweepElement::setQuietTimeSamplingInterval | ( | double | quietTimeSamplingInterval | ) |
Sets the quiet time sampling interval.
quietTimeSamplingInterval | The quiet time sampling interval to set in seconds. |
void AisDCCurrentSweepElement::setSamplingInterval | ( | double | samplingInterval | ) |
set how frequently we are sampling the data.
samplingInterval | the data sampling interval value in seconds. |
void AisDCCurrentSweepElement::setScanRate | ( | double | scanRate | ) |
set the value for the current scan rate.
The scan rate represents the value of the discrete current step size in one second in the linear sweep.
scanRate | the value to set for the scan rate. |
void AisDCCurrentSweepElement::setStartingCurrent | ( | double | startingCurrent | ) |
set the value for the starting current.
startingCurrent | the value to set for the starting current in Amps |