Dokit
Native Qt library for Pokit devices
|
Encapsulates details specific to Pokit Meter devices. More...
Enumerations | |
enum class | CurrentRange : quint8 { _10mA = 0 , _30mA = 1 , _150mA = 2 , _300mA = 3 , _2A = 4 , AutoRange = 255 } |
Values supported by the Pokit Meter's Range attributes in *Current modes. More... | |
enum class | ResistanceRange : quint8 { _160 = 0 , _330 = 1 , _890 = 2 , _1K5 = 3 , _10K = 4 , _100K = 5 , _470K = 6 , _1M = 7 , AutoRange = 255 } |
Values supported by the Pokit Meter's Range attributes in Resistance mode. More... | |
enum class | VoltageRange : quint8 { _300mV = 0 , _2V = 1 , _6V = 2 , _12V = 3 , _30V = 4 , _60V = 5 , AutoRange = 255 } |
Values supported by the Pokit Meter's Range attributes in *Voltage modes. More... | |
Functions | |
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 Meter devices.
|
strong |
|
strong |
|
strong |
QVariant PokitMeter::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.
QVariant PokitMeter::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.
QVariant PokitMeter::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.