Dokit
Internal development documentation
|
Encapsulates details specific to Pokit Pro devices. More...
Enumerations | |
enum class | CapacitanceRange : quint8 { _100nF = 0 , _10uF = 1 , _1mF = 2 , AutoRange = 255 } |
Values supported by the Pokit Pro's Range attributes in Capacitance mode. More... | |
enum class | CurrentRange : quint8 { _500uA = 0 , _2mA = 1 , _10mA = 2 , _125mA = 3 , _300mA = 4 , _3A = 5 , _10A = 6 , AutoRange = 255 } |
Values supported by the Pokit Pro's Range attributes in *Current modes. More... | |
enum class | ResistanceRange : quint8 { _30 = 0 , _75 = 1 , _400 = 2 , _5K = 3 , _10K = 4 , _15K = 5 , _40K = 6 , _500K = 7 , _700K = 8 , _1M = 9 , _3M = 10 , AutoRange = 255 } |
Values supported by the Pokit Pro's Range attributes in Resistance mode. More... | |
enum class | VoltageRange : quint8 { _250mV = 0 , _2V = 1 , _10V = 2 , _30V = 3 , _60V = 4 , _125V = 5 , _400V = 6 , _600V = 7 , AutoRange = 255 } |
Values supported by the Pokit Pro's Range attributes in *Voltage modes. More... | |
Functions | |
QTPOKIT_EXPORT QString | toString (const CapacitanceRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT QVariant | maxValue (const CapacitanceRange &range) |
Returns the maximum value for range in (integer) nanofarads, or the string "Auto". | |
QTPOKIT_EXPORT QString | toString (const CurrentRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT QVariant | maxValue (const CurrentRange &range) |
Returns the maximum value for range in (integer) microamps, or the string "Auto". | |
QTPOKIT_EXPORT QString | toString (const ResistanceRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT QVariant | maxValue (const ResistanceRange &range) |
Returns the maximum value for range in (integer) ohms, or the string "Auto". | |
QTPOKIT_EXPORT QString | toString (const VoltageRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT QVariant | maxValue (const VoltageRange &range) |
Returns the maximum value for range in (integer) millivolts, or the string "Auto". | |
Encapsulates details specific to Pokit Pro devices.
|
strong |
Values supported by the Pokit Pro's Range
attributes in Capacitance
mode.
Enumerator | |
---|---|
_100nF | Up 100nF. |
_10uF | Up 10μF. |
_1mF | Up 1mF. |
AutoRange | Auto-range. |
Definition at line 22 of file pokitpro.h.
|
strong |
Values supported by the Pokit Pro's Range
attributes in *Current
modes.
Enumerator | |
---|---|
_500uA | Up to 5µA. |
_2mA | Up to 2mA. |
_10mA | Up to 10mA. |
_125mA | Up to 125mA. |
_300mA | Up to 300mA. |
_3A | Up to 3A. |
_10A | Up to 10A. |
AutoRange | Auto-range. |
Definition at line 33 of file pokitpro.h.
|
strong |
Values supported by the Pokit Pro's Range
attributes in Resistance
mode.
Definition at line 47 of file pokitpro.h.
|
strong |
Values supported by the Pokit Pro's Range
attributes in *Voltage
modes.
Enumerator | |
---|---|
_250mV | Up to 250mV. |
_2V | Up to 2V. |
_10V | Up to 10V. |
_30V | Up to 30V. |
_60V | Up to 60V. |
_125V | Up to 125V. |
_400V | Up to 400V. |
_600V | Up to 600V. |
AutoRange | Auto-range. |
Definition at line 65 of file pokitpro.h.
QVariant PokitPro::maxValue | ( | const CapacitanceRange & | range | ) |
Returns the maximum value for range in (integer) nanofarads, or the string "Auto".
If range is not a known valid value, then an null QVariant is returned.
Definition at line 40 of file pokitpro.cpp.
References _100nF, _10uF, _1mF, AutoRange, and QCoreApplication::translate().
Referenced by CapacitanceRange::maxValue(), CurrentRange::maxValue(), ResistanceRange::maxValue(), and VoltageRange::maxValue().
QVariant PokitPro::maxValue | ( | const CurrentRange & | range | ) |
Returns the maximum value for range in (integer) microamps, or the string "Auto".
If range is not a known valid value, then an null QVariant is returned.
Definition at line 80 of file pokitpro.cpp.
References _10A, _10mA, _125mA, _2mA, _300mA, _3A, _500uA, AutoRange, and QCoreApplication::translate().
QVariant PokitPro::maxValue | ( | const ResistanceRange & | range | ) |
Returns the maximum value for range in (integer) ohms, or the string "Auto".
If range is not a known valid value, then an null QVariant is returned.
Definition at line 128 of file pokitpro.cpp.
References _10K, _15K, _1M, _30, _3M, _400, _40K, _500K, _5K, _700K, _75, AutoRange, and QCoreApplication::translate().
QVariant PokitPro::maxValue | ( | const VoltageRange & | range | ) |
Returns the maximum value for range in (integer) millivolts, or the string "Auto".
If range is not a known valid value, then an null QVariant is returned.
Definition at line 177 of file pokitpro.cpp.
References _10V, _125V, _250mV, _2V, _30V, _400V, _600V, _60V, AutoRange, and QCoreApplication::translate().
QString PokitPro::toString | ( | const CapacitanceRange & | range | ) |
Returns range as a user-friendly string.
Definition at line 25 of file pokitpro.cpp.
References _100nF, _10uF, _1mF, AutoRange, and QCoreApplication::translate().
Referenced by CapacitanceRange::toString(), CurrentRange::toString(), ResistanceRange::toString(), and VoltageRange::toString().
QString PokitPro::toString | ( | const CurrentRange & | range | ) |
Returns range as a user-friendly string.
Definition at line 61 of file pokitpro.cpp.
References _10A, _10mA, _125mA, _2mA, _300mA, _3A, _500uA, AutoRange, and QCoreApplication::translate().
QString PokitPro::toString | ( | const ResistanceRange & | range | ) |
Returns range as a user-friendly string.
Definition at line 105 of file pokitpro.cpp.
References _10K, _15K, _1M, _30, _3M, _400, _40K, _500K, _5K, _700K, _75, AutoRange, and QCoreApplication::translate().
QString PokitPro::toString | ( | const VoltageRange & | range | ) |
Returns range as a user-friendly string.
Definition at line 157 of file pokitpro.cpp.
References _10V, _125V, _250mV, _2V, _30V, _400V, _600V, _60V, AutoRange, and QCoreApplication::translate().