9#ifndef QTPOKIT_POKITMETER_H
10#define QTPOKIT_POKITMETER_H
14QTPOKIT_BEGIN_NAMESPACE
Encapsulates details specific to Pokit Meter devices.
Definition pokitmeter.h:17
CurrentRange
Values supported by the Pokit Meter's Range attributes in *Current modes.
Definition pokitmeter.h:20
@ _2A
Up to 2A.
Definition pokitmeter.h:25
@ AutoRange
Auto-range.
Definition pokitmeter.h:26
@ _30mA
Up to 30mA.
Definition pokitmeter.h:22
@ _10mA
Up to 10mA.
Definition pokitmeter.h:21
@ _300mA
Up to 300mA.
Definition pokitmeter.h:24
@ _150mA
Up to 150mA.
Definition pokitmeter.h:23
QTPOKIT_EXPORT QString toString(const CurrentRange &range)
Returns range as a user-friendly string.
Definition pokitmeter.cpp:26
ResistanceRange
Values supported by the Pokit Meter's Range attributes in Resistance mode.
Definition pokitmeter.h:32
@ _470K
Up to 470KΩ.
Definition pokitmeter.h:39
@ _890
Up to 890Ω.
Definition pokitmeter.h:35
@ _10K
Up to 10KΩ.
Definition pokitmeter.h:37
@ _330
Up to 330Ω.
Definition pokitmeter.h:34
@ _1M
Up to 1MΩ.
Definition pokitmeter.h:40
@ _100K
Up to 100KΩ.
Definition pokitmeter.h:38
@ _160
Up to 160Ω.
Definition pokitmeter.h:33
@ _1K5
Up to 1.5KΩ.
Definition pokitmeter.h:36
VoltageRange
Values supported by the Pokit Meter's Range attributes in *Voltage modes.
Definition pokitmeter.h:47
@ _12V
Up to 12V.
Definition pokitmeter.h:51
@ _60V
Up to 60V DC (42V AC).
Definition pokitmeter.h:53
@ _300mV
Up to 300mV.
Definition pokitmeter.h:48
@ _2V
Up to 2V.
Definition pokitmeter.h:49
@ _30V
Up to 30V.
Definition pokitmeter.h:52
@ _6V
Up to 6V.
Definition pokitmeter.h:50
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 ...
Definition pokitmeter.cpp:42
constexpr quint8 operator+(PokitMeter::CurrentRange range) noexcept
Returns range as a quint8 as a convenience for assigning to services' settings.range members.
Definition pokitmeter.h:62
Global QtPokit library macros.