Dokit
Native Qt library for Pokit devices
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Pages
PokitMeter Namespace Reference

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 quint32 maxValue (const CurrentRange &range)
 Returns the maximum value for range in microamps, or 0 if range is not a known value for Pokit Meter 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 Meter 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 Meter devices.
 

Detailed Description

Encapsulates details specific to Pokit Meter devices.

Enumeration Type Documentation

◆ CurrentRange

enum class PokitMeter::CurrentRange : quint8
strong

Values supported by the Pokit Meter's Range attributes in *Current modes.

Enumerator
_10mA 

Up to 10mA.

_30mA 

Up to 30mA.

_150mA 

Up to 150mA.

_300mA 

Up to 300mA.

_2A 

Up to 2A.

AutoRange 255 

Auto-range.

◆ ResistanceRange

enum class PokitMeter::ResistanceRange : quint8
strong

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

Enumerator
_160 

Up to 160Ω.

_330 

Up to 330Ω.

_890 

Up to 890Ω.

_1K5 

Up to 1.5KΩ.

_10K 

Up to 10KΩ.

_100K 

Up to 100KΩ.

_470K 

Up to 470KΩ.

_1M 

Up to 1MΩ.

AutoRange 255 

Auto-range.

◆ VoltageRange

enum class PokitMeter::VoltageRange : quint8
strong

Values supported by the Pokit Meter's Range attributes in *Voltage modes.

Enumerator
_300mV 

Up to 300mV.

_2V 

Up to 2V.

_6V 

Up to 6V.

_12V 

Up to 12V.

_30V 

Up to 30V.

_60V 

Up to 60V DC (42V AC).

AutoRange 255 

Auto-range.