Dokit
Native Qt library for Pokit devices
|
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 |
|
strong |
|
strong |
|
strong |
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.
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.
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.
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.