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 quint32 | maxValue (const CapacitanceRange &range) |
Returns the maximum value for range in nanofarads, or 0 if range is not a known value for Pokit Pro devices. | |
QTPOKIT_EXPORT QString | toString (const CurrentRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT quint32 | maxValue (const CurrentRange &range) |
Returns the maximum value for range in microamps, or 0 if range is not a known value for Pokit Pro devices. | |
QTPOKIT_EXPORT QString | toString (const ResistanceRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT quint32 | maxValue (const ResistanceRange &range) |
Returns the maximum value for range in ohms, or 0 if range is not a known value for Pokit Pro devices. | |
QTPOKIT_EXPORT QString | toString (const VoltageRange &range) |
Returns range as a user-friendly string. | |
QTPOKIT_EXPORT quint32 | maxValue (const VoltageRange &range) |
Returns the maximum value for range in millivolts, or 0 if range is not a known value for Pokit Pro devices. | |
static | Q_LOGGING_CATEGORY (lc, "dokit.pokit.products.pro", QtInfoMsg) |
Logging category for this file. | |
Encapsulates details specific to Pokit Pro devices.
|
strong |
Values supported by the Pokit Pro's Range
attributes in Capacitance
mode.
Enumerator | ||
---|---|---|
_100nF | 0 | Up 100nF. |
_10uF | 1 | Up 10μF. |
_1mF | 2 | Up 1mF. |
AutoRange | 255 | Auto-range. |
Definition at line 20 of file pokitpro.h.
|
strong |
Values supported by the Pokit Pro's Range
attributes in *Current
modes.
Enumerator | ||
---|---|---|
_500uA | 0 | Up to 5µA. |
_2mA | 1 | Up to 2mA. |
_10mA | 2 | Up to 10mA. |
_125mA | 3 | Up to 125mA. |
_300mA | 4 | Up to 300mA. |
_3A | 5 | Up to 3A. |
_10A | 6 | Up to 10A. |
AutoRange | 255 | Auto-range. |
Definition at line 31 of file pokitpro.h.
|
strong |
Values supported by the Pokit Pro's Range
attributes in Resistance
mode.
Definition at line 45 of file pokitpro.h.
|
strong |
Values supported by the Pokit Pro's Range
attributes in *Voltage
modes.
Enumerator | ||
---|---|---|
_250mV | 0 | Up to 250mV. |
_2V | 1 | Up to 2V. |
_10V | 2 | Up to 10V. |
_30V | 3 | Up to 30V. |
_60V | 4 | Up to 60V. |
_125V | 5 | Up to 125V. |
_400V | 6 | Up to 400V. |
_600V | 7 | Up to 600V. |
AutoRange | 255 | Auto-range. |
Definition at line 63 of file pokitpro.h.
quint32 PokitPro::maxValue | ( | const CapacitanceRange & | range | ) |
Returns the maximum value for range in nanofarads, or 0 if range is not a known value for Pokit Pro devices.
Definition at line 49 of file pokitpro.cpp.
References _100nF, _10uF, _1mF, and AutoRange.
Referenced by CapacitanceRange::maxValue(), CurrentRange::maxValue(), ResistanceRange::maxValue(), and VoltageRange::maxValue().
quint32 PokitPro::maxValue | ( | const CurrentRange & | range | ) |
Returns the maximum value for range in microamps, or 0 if range is not a known value for Pokit Pro devices.
Definition at line 90 of file pokitpro.cpp.
References _10A, _10mA, _125mA, _2mA, _300mA, _3A, _500uA, and AutoRange.
quint32 PokitPro::maxValue | ( | const ResistanceRange & | range | ) |
Returns the maximum value for range in ohms, or 0 if range is not a known value for Pokit Pro devices.
Definition at line 139 of file pokitpro.cpp.
References _10K, _15K, _1M, _30, _3M, _400, _40K, _500K, _5K, _700K, _75, and AutoRange.
quint32 PokitPro::maxValue | ( | const VoltageRange & | range | ) |
Returns the maximum value for range in millivolts, or 0 if range is not a known value for Pokit Pro devices.
Definition at line 189 of file pokitpro.cpp.
References _10V, _125V, _250mV, _2V, _30V, _400V, _600V, _60V, and AutoRange.
QString PokitPro::toString | ( | const CapacitanceRange & | range | ) |
Returns range as a user-friendly string.
Definition at line 35 of file pokitpro.cpp.
References _100nF, _10uF, _1mF, and AutoRange.
Referenced by CapacitanceRange::toString(), CurrentRange::toString(), ResistanceRange::toString(), and VoltageRange::toString().
QString PokitPro::toString | ( | const CurrentRange & | range | ) |
QString PokitPro::toString | ( | const ResistanceRange & | range | ) |