![]() |
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>
#include <AisDCCurrentSweepElement.h>
Public Member Functions | |
| AisDCCurrentSweepElement (double startCurrent, double endCurrent, double scanRate, double samplingInterval) | |
| the DC current sweep element. | |
| 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. | |
| 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 | getStartingCurrent () const |
| get the value set for the starting current. | |
| void | setStartingCurrent (double startingCurrent) |
| set the value for the starting current. | |
| double | getEndingCurrent () const |
| get the value set for the ending current. | |
| void | setEndingCurrent (double endingCurrent) |
| set the value for the ending current. | |
| double | getScanRate () const |
| get the value set for the scan rate. | |
| void | setScanRate (double scanRate) |
| set the value for the current 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. | |
| double | getMaxVoltage () const |
| get the value set for the maximum voltage. The experiment will end when it reaches this value. | |
| void | setMaxVoltage (double maxVoltage) |
| set a maximum voltage to stop the experiment. | |
| double | getMinVoltage () const |
| get the value set minimum for the voltage in volts. | |
| void | setMinVoltage (double minVoltage) |
| set a minimum voltage 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 |
| 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 |
|
override |
| double AisDCCurrentSweepElement::getEndingCurrent | ( | ) | const |
| double AisDCCurrentSweepElement::getMaxVoltage | ( | ) | const |
| double AisDCCurrentSweepElement::getMinVoltage | ( | ) | const |
|
override |
| double AisDCCurrentSweepElement::getQuietTime | ( | ) | const |
| double AisDCCurrentSweepElement::getQuietTimeSamplingInterval | ( | ) | const |
| double AisDCCurrentSweepElement::getSamplingInterval | ( | ) | const |
| double AisDCCurrentSweepElement::getScanRate | ( | ) | const |
| double AisDCCurrentSweepElement::getStartingCurrent | ( | ) | const |
| void AisDCCurrentSweepElement::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 AisDCCurrentSweepElement::setEndingCurrent | ( | double | endingCurrent | ) |
| endingCurrent | the value for the ending current in Amps |
| void AisDCCurrentSweepElement::setMaxVoltage | ( | double | maxVoltage | ) |
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 | ) |
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 | ) |
| quietTime | The quiet time duration to set in seconds. |
| void AisDCCurrentSweepElement::setQuietTimeSamplingInterval | ( | double | quietTimeSamplingInterval | ) |
| quietTimeSamplingInterval | The quiet time sampling interval to set in seconds. |
| void AisDCCurrentSweepElement::setSamplingInterval | ( | double | samplingInterval | ) |
| samplingInterval | the data sampling interval value in seconds. |
| void AisDCCurrentSweepElement::setScanRate | ( | double | scanRate | ) |
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 | ) |
| startingCurrent | the value to set for the starting current in Amps |