pub enum PicoRange {
Show 114 variants
X1_PROBE_10MV = 0,
X1_PROBE_20MV = 1,
X1_PROBE_50MV = 2,
X1_PROBE_100MV = 3,
X1_PROBE_200MV = 4,
X1_PROBE_500MV = 5,
X1_PROBE_1V = 6,
X1_PROBE_2V = 7,
X1_PROBE_5V = 8,
X1_PROBE_10V = 9,
X1_PROBE_20V = 10,
X1_PROBE_50V = 11,
X1_PROBE_100V = 12,
X1_PROBE_200V = 13,
X10_PROBE_100MV = 32,
X10_PROBE_200MV = 33,
X10_PROBE_500MV = 34,
X10_PROBE_1V = 35,
X10_PROBE_2V = 36,
X10_PROBE_5V = 37,
X10_PROBE_10V = 38,
X10_PROBE_20V = 39,
X10_PROBE_50V = 40,
X10_PROBE_100V = 41,
X10_PROBE_200V = 42,
X10_PROBE_500V = 43,
PS4000A_RESISTANCE_315K = 512,
PS4000A_RESISTANCE_1100K = 513,
PS4000A_RESISTANCE_10M = 514,
PS4000A_RESISTANCE_ADCV_FLAG = 268_435_456,
CONNECT_PROBE_OFF = 1_024,
CURRENT_CLAMP_200A_2kA_1A = 4_000,
CURRENT_CLAMP_200A_2kA_2A = 4_001,
CURRENT_CLAMP_200A_2kA_5A = 4_002,
CURRENT_CLAMP_200A_2kA_10A = 4_003,
CURRENT_CLAMP_200A_2kA_20A = 4_004,
CURRENT_CLAMP_200A_2kA_50A = 4_005,
CURRENT_CLAMP_200A_2kA_100A = 4_006,
CURRENT_CLAMP_200A_2kA_200A = 4_007,
CURRENT_CLAMP_200A_2kA_500A = 4_008,
CURRENT_CLAMP_200A_2kA_1000A = 4_009,
CURRENT_CLAMP_200A_2kA_2000A = 4_010,
CURRENT_CLAMP_40A_100mA = 5_000,
CURRENT_CLAMP_40A_200mA = 5_001,
CURRENT_CLAMP_40A_500mA = 5_002,
CURRENT_CLAMP_40A_1A = 5_003,
CURRENT_CLAMP_40A_2A = 5_004,
CURRENT_CLAMP_40A_5A = 5_005,
CURRENT_CLAMP_40A_10A = 5_006,
CURRENT_CLAMP_40A_20A = 5_007,
CURRENT_CLAMP_40A_40A = 5_008,
_1KV_2_5V = 6_003,
_1KV_5V = 6_004,
_1KV_12_5V = 6_005,
_1KV_25V = 6_006,
_1KV_50V = 6_007,
_1KV_125V = 6_008,
_1KV_250V = 6_009,
_1KV_500V = 6_010,
_1KV_1000V = 6_011,
CURRENT_CLAMP_2000ARMS_10A = 6_500,
CURRENT_CLAMP_2000ARMS_20A = 6_501,
CURRENT_CLAMP_2000ARMS_50A = 6_502,
CURRENT_CLAMP_2000ARMS_100A = 6_503,
CURRENT_CLAMP_2000ARMS_200A = 6_504,
CURRENT_CLAMP_2000ARMS_500A = 6_505,
CURRENT_CLAMP_2000ARMS_1000A = 6_506,
CURRENT_CLAMP_2000ARMS_2000A = 6_507,
CURRENT_CLAMP_2000ARMS_5000A = 6_508,
RESISTANCE_LEAD_NEG5_TO_20OHM = 7_000,
RESISTANCE_LEAD_NEG50_TO_200OHM = 7_001,
RESISTANCE_LEAD_NEG500_TO_2KOHM = 7_002,
RESISTANCE_LEAD_NEG5K_TO_20KOHM = 7_003,
RESISTANCE_LEAD_NEG50K_TO_LEAD_200KOHM = 7_004,
RESISTANCE_LEAD_NEG500K_TO_LEAD_2MOHM = 7_005,
RESISTANCE_LEAD_DIODE_TEST = 7_006,
HT_NEG3_TO_5KV = 8_950,
HT_NEG3_TO_10KV = 8_951,
HT_NEG5_TO_20KV = 8_952,
HT_NEG5_TO_50KV = 8_953,
HT_NEG5_TO_100KV = 8_954,
HT_NEG3_TO_5KV_INVERTED = 8_955,
HT_NEG3_TO_10KV_INVERTED = 8_956,
HT_NEG5_TO_20KV_INVERTED = 8_957,
HT_NEG5_TO_50KV_INVERTED = 8_958,
HT_NEG5_TO_100KV_INVERTED = 8_959,
TEMPERATURE_NEG50_TO_150DEGC = 9_000,
PRESSURE_SENSOR_NEG100000_TO_150000_PASCALS = 9_100,
PRESSURE_SENSOR_NEG100000_TO_400000_PASCALS = 9_101,
PRESSURE_SENSOR_NEG200000_TO_800000_PASCALS = 9_102,
PRESSURE_SENSOR_NEG400000_TO_1600000_PASCALS = 9_103,
PRESSURE_SENSOR_NEG400000_TO_3400000_PASCALS = 9_104,
PRESSURE_SENSOR_NEG150000_TO_1350000_PASCALS = 9_105,
CURRENT_CLAMP_100A_2_5A = 10_000,
CURRENT_CLAMP_100A_5A = 10_001,
CURRENT_CLAMP_100A_10A = 10_002,
CURRENT_CLAMP_100A_25A = 10_003,
CURRENT_CLAMP_100A_50A = 10_004,
CURRENT_CLAMP_100A_100A = 10_005,
CURRENT_CLAMP_60A_2A = 10_500,
CURRENT_CLAMP_60A_5A = 10_501,
CURRENT_CLAMP_60A_10A = 10_502,
CURRENT_CLAMP_60A_20A = 10_503,
CURRENT_CLAMP_60A_50A = 10_504,
CURRENT_CLAMP_60A_60A = 10_505,
OPTICAL_SENSOR_10V = 10_550,
CURRENT_CLAMP_60A_V2_0_5A = 10_600,
CURRENT_CLAMP_60A_V2_1A = 10_601,
CURRENT_CLAMP_60A_V2_2A = 10_602,
CURRENT_CLAMP_60A_V2_5A = 10_603,
CURRENT_CLAMP_60A_V2_10A = 10_604,
CURRENT_CLAMP_60A_V2_20A = 10_605,
CURRENT_CLAMP_60A_V2_50A = 10_606,
CURRENT_CLAMP_60A_V2_60A = 10_607,
}
Expand description
Pico channel ranges
Variants§
X1_PROBE_10MV = 0
X1_PROBE_20MV = 1
X1_PROBE_50MV = 2
X1_PROBE_100MV = 3
X1_PROBE_200MV = 4
X1_PROBE_500MV = 5
X1_PROBE_1V = 6
X1_PROBE_2V = 7
X1_PROBE_5V = 8
X1_PROBE_10V = 9
X1_PROBE_20V = 10
X1_PROBE_50V = 11
X1_PROBE_100V = 12
X1_PROBE_200V = 13
X10_PROBE_100MV = 32
X10_PROBE_200MV = 33
X10_PROBE_500MV = 34
X10_PROBE_1V = 35
X10_PROBE_2V = 36
X10_PROBE_5V = 37
X10_PROBE_10V = 38
X10_PROBE_20V = 39
X10_PROBE_50V = 40
X10_PROBE_100V = 41
X10_PROBE_200V = 42
X10_PROBE_500V = 43
PS4000A_RESISTANCE_315K = 512
PS4000A_RESISTANCE_1100K = 513
PS4000A_RESISTANCE_10M = 514
PS4000A_RESISTANCE_ADCV_FLAG = 268_435_456
CONNECT_PROBE_OFF = 1_024
CURRENT_CLAMP_200A_2kA_1A = 4_000
CURRENT_CLAMP_200A_2kA_2A = 4_001
CURRENT_CLAMP_200A_2kA_5A = 4_002
CURRENT_CLAMP_200A_2kA_10A = 4_003
CURRENT_CLAMP_200A_2kA_20A = 4_004
CURRENT_CLAMP_200A_2kA_50A = 4_005
CURRENT_CLAMP_200A_2kA_100A = 4_006
CURRENT_CLAMP_200A_2kA_200A = 4_007
CURRENT_CLAMP_200A_2kA_500A = 4_008
CURRENT_CLAMP_200A_2kA_1000A = 4_009
CURRENT_CLAMP_200A_2kA_2000A = 4_010
CURRENT_CLAMP_40A_100mA = 5_000
CURRENT_CLAMP_40A_200mA = 5_001
CURRENT_CLAMP_40A_500mA = 5_002
CURRENT_CLAMP_40A_1A = 5_003
CURRENT_CLAMP_40A_2A = 5_004
CURRENT_CLAMP_40A_5A = 5_005
CURRENT_CLAMP_40A_10A = 5_006
CURRENT_CLAMP_40A_20A = 5_007
CURRENT_CLAMP_40A_40A = 5_008
_1KV_2_5V = 6_003
_1KV_5V = 6_004
_1KV_12_5V = 6_005
_1KV_25V = 6_006
_1KV_50V = 6_007
_1KV_125V = 6_008
_1KV_250V = 6_009
_1KV_500V = 6_010
_1KV_1000V = 6_011
CURRENT_CLAMP_2000ARMS_10A = 6_500
CURRENT_CLAMP_2000ARMS_20A = 6_501
CURRENT_CLAMP_2000ARMS_50A = 6_502
CURRENT_CLAMP_2000ARMS_100A = 6_503
CURRENT_CLAMP_2000ARMS_200A = 6_504
CURRENT_CLAMP_2000ARMS_500A = 6_505
CURRENT_CLAMP_2000ARMS_1000A = 6_506
CURRENT_CLAMP_2000ARMS_2000A = 6_507
CURRENT_CLAMP_2000ARMS_5000A = 6_508
RESISTANCE_LEAD_NEG5_TO_20OHM = 7_000
RESISTANCE_LEAD_NEG50_TO_200OHM = 7_001
RESISTANCE_LEAD_NEG500_TO_2KOHM = 7_002
RESISTANCE_LEAD_NEG5K_TO_20KOHM = 7_003
RESISTANCE_LEAD_NEG50K_TO_LEAD_200KOHM = 7_004
RESISTANCE_LEAD_NEG500K_TO_LEAD_2MOHM = 7_005
RESISTANCE_LEAD_DIODE_TEST = 7_006
HT_NEG3_TO_5KV = 8_950
HT_NEG3_TO_10KV = 8_951
HT_NEG5_TO_20KV = 8_952
HT_NEG5_TO_50KV = 8_953
HT_NEG5_TO_100KV = 8_954
HT_NEG3_TO_5KV_INVERTED = 8_955
HT_NEG3_TO_10KV_INVERTED = 8_956
HT_NEG5_TO_20KV_INVERTED = 8_957
HT_NEG5_TO_50KV_INVERTED = 8_958
HT_NEG5_TO_100KV_INVERTED = 8_959
TEMPERATURE_NEG50_TO_150DEGC = 9_000
PRESSURE_SENSOR_NEG100000_TO_150000_PASCALS = 9_100
PRESSURE_SENSOR_NEG100000_TO_400000_PASCALS = 9_101
PRESSURE_SENSOR_NEG200000_TO_800000_PASCALS = 9_102
PRESSURE_SENSOR_NEG400000_TO_1600000_PASCALS = 9_103
PRESSURE_SENSOR_NEG400000_TO_3400000_PASCALS = 9_104
PRESSURE_SENSOR_NEG150000_TO_1350000_PASCALS = 9_105
CURRENT_CLAMP_100A_2_5A = 10_000
CURRENT_CLAMP_100A_5A = 10_001
CURRENT_CLAMP_100A_10A = 10_002
CURRENT_CLAMP_100A_25A = 10_003
CURRENT_CLAMP_100A_50A = 10_004
CURRENT_CLAMP_100A_100A = 10_005
CURRENT_CLAMP_60A_2A = 10_500
CURRENT_CLAMP_60A_5A = 10_501
CURRENT_CLAMP_60A_10A = 10_502
CURRENT_CLAMP_60A_20A = 10_503
CURRENT_CLAMP_60A_50A = 10_504
CURRENT_CLAMP_60A_60A = 10_505
OPTICAL_SENSOR_10V = 10_550
CURRENT_CLAMP_60A_V2_0_5A = 10_600
CURRENT_CLAMP_60A_V2_1A = 10_601
CURRENT_CLAMP_60A_V2_2A = 10_602
CURRENT_CLAMP_60A_V2_5A = 10_603
CURRENT_CLAMP_60A_V2_10A = 10_604
CURRENT_CLAMP_60A_V2_20A = 10_605
CURRENT_CLAMP_60A_V2_50A = 10_606
CURRENT_CLAMP_60A_V2_60A = 10_607
Implementations§
Source§impl PicoRange
impl PicoRange
Sourcepub fn get_units(self) -> UnitStrings
pub fn get_units(self) -> UnitStrings
Get the expected units for this channel range
Sourcepub fn get_max_scaled_value(self) -> f64
pub fn get_max_scaled_value(self) -> f64
Get the maximum scaled value for this range
Trait Implementations§
Source§impl FromPrimitive for PicoRange
impl FromPrimitive for PicoRange
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§impl IntoEnumIterator for PicoRange
impl IntoEnumIterator for PicoRange
Source§impl ToPrimitive for PicoRange
impl ToPrimitive for PicoRange
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self
to an i64
. If the value cannot be
represented by an i64
, then None
is returned.Source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self
to a u64
. If the value cannot be
represented by a u64
, then None
is returned.Source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self
to an isize
. If the value cannot be
represented by an isize
, then None
is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self
to an i8
. If the value cannot be
represented by an i8
, then None
is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self
to an i16
. If the value cannot be
represented by an i16
, then None
is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self
to an i32
. If the value cannot be
represented by an i32
, then None
is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self
to an i128
. If the value cannot be
represented by an i128
(i64
under the default implementation), then
None
is returned. Read moreSource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self
to a usize
. If the value cannot be
represented by a usize
, then None
is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self
to a u8
. If the value cannot be
represented by a u8
, then None
is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self
to a u16
. If the value cannot be
represented by a u16
, then None
is returned.Source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self
to a u32
. If the value cannot be
represented by a u32
, then None
is returned.Source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self
to a u128
. If the value cannot be
represented by a u128
(u64
under the default implementation), then
None
is returned. Read moreimpl Copy for PicoRange
impl StructuralPartialEq for PicoRange
Auto Trait Implementations§
impl Freeze for PicoRange
impl RefUnwindSafe for PicoRange
impl Send for PicoRange
impl Sync for PicoRange
impl Unpin for PicoRange
impl UnwindSafe for PicoRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more