9#ifndef QTPOKIT_POKITPRO_H
10#define QTPOKIT_POKITPRO_H
14QTPOKIT_BEGIN_NAMESPACE
Encapsulates details specific to Pokit Pro devices.
Definition pokitpro.h:17
QTPOKIT_EXPORT QString toString(const CapacitanceRange &range)
Returns range as a user-friendly string.
Definition pokitpro.cpp:35
VoltageRange
Values supported by the Pokit Pro's Range attributes in *Voltage modes.
Definition pokitpro.h:63
@ _10V
Up to 10V.
Definition pokitpro.h:66
@ _60V
Up to 60V.
Definition pokitpro.h:68
@ _250mV
Up to 250mV.
Definition pokitpro.h:64
@ _2V
Up to 2V.
Definition pokitpro.h:65
@ _30V
Up to 30V.
Definition pokitpro.h:67
@ _400V
Up to 400V.
Definition pokitpro.h:70
@ _600V
Up to 600V.
Definition pokitpro.h:71
@ _125V
Up to 125V.
Definition pokitpro.h:69
CurrentRange
Values supported by the Pokit Pro's Range attributes in *Current modes.
Definition pokitpro.h:31
@ _10A
Up to 10A.
Definition pokitpro.h:38
@ _500uA
Up to 5µA.
Definition pokitpro.h:32
@ _10mA
Up to 10mA.
Definition pokitpro.h:34
@ _2mA
Up to 2mA.
Definition pokitpro.h:33
@ _300mA
Up to 300mA.
Definition pokitpro.h:36
@ _3A
Up to 3A.
Definition pokitpro.h:37
@ _125mA
Up to 125mA.
Definition pokitpro.h:35
ResistanceRange
Values supported by the Pokit Pro's Range attributes in Resistance mode.
Definition pokitpro.h:45
@ _15K
Up to 15KΩ.
Definition pokitpro.h:51
@ _400
Up to 400Ω.
Definition pokitpro.h:48
@ _40K
Up to 40KΩ.
Definition pokitpro.h:52
@ _10K
Up to 10KΩ.
Definition pokitpro.h:50
@ _1M
Up to 1MΩ.
Definition pokitpro.h:55
@ _500K
Up to 500KΩ.
Definition pokitpro.h:53
@ _3M
Up to 3MΩ.
Definition pokitpro.h:56
@ _700K
Up to 700KΩ.
Definition pokitpro.h:54
@ _5K
Up to 5KΩ.
Definition pokitpro.h:49
@ _30
Up to 30Ω.
Definition pokitpro.h:46
@ _75
Up to 75Ω.
Definition pokitpro.h:47
CapacitanceRange
Values supported by the Pokit Pro's Range attributes in Capacitance mode.
Definition pokitpro.h:20
@ _1mF
Up 1mF.
Definition pokitpro.h:23
@ _10uF
Up 10μF.
Definition pokitpro.h:22
@ AutoRange
Auto-range.
Definition pokitpro.h:24
@ _100nF
Up 100nF.
Definition pokitpro.h:21
QTPOKIT_EXPORT quint32 maxValue(const CapacitanceRange &range)
Returns the maximum value for range in nanofarads, or 0 if range is not a known value for Pokit Pro d...
Definition pokitpro.cpp:49
constexpr quint8 operator+(PokitPro::CapacitanceRange range) noexcept
Returns range as a quint8 as a convenience for assigning to services' settings.range members.
Definition pokitpro.h:80
Global QtPokit library macros.