Dokit
Native Qt library for Pokit devices
Loading...
Searching...
No Matches
PokitPro Namespace Reference

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".
 

Detailed Description

Encapsulates details specific to Pokit Pro devices.

Enumeration Type Documentation

◆ CapacitanceRange

enum class PokitPro::CapacitanceRange : quint8
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.

◆ CurrentRange

enum class PokitPro::CurrentRange : quint8
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.

◆ ResistanceRange

enum class PokitPro::ResistanceRange : quint8
strong

Values supported by the Pokit Pro's Range attributes in Resistance mode.

Enumerator
_30 

Up to 30Ω.

_75 

Up to 75Ω.

_400 

Up to 400Ω.

_5K 

Up to 5KΩ.

_10K 

Up to 10KΩ.

_15K 

Up to 15KΩ.

_40K 

Up to 40KΩ.

_500K 

Up to 500KΩ.

_700K 

Up to 700KΩ.

_1M 

Up to 1MΩ.

_3M 

Up to 3MΩ.

AutoRange 

Auto-range.

◆ VoltageRange

enum class PokitPro::VoltageRange : quint8
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.

Function Documentation

◆ maxValue() [1/4]

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.

Here is the call graph for this function:

◆ maxValue() [2/4]

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.

Here is the call graph for this function:

◆ maxValue() [3/4]

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.

Here is the call graph for this function:

◆ maxValue() [4/4]

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.

Here is the call graph for this function: