MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / set_zero_ratio

Method set_zero_ratio

DSView/pv/view/dsosignal.cpp:467–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467void DsoSignal::set_zero_ratio(double ratio)
468{
469 _zero_offset = ratio2value(ratio);
470 session->get_device()->set_config_uint16(SR_CONF_PROBE_OFFSET,
471 _zero_offset, _probe, NULL);
472}
473
474void DsoSignal::set_factor(uint64_t factor)
475{

Callers 2

capture_initMethod · 0.45
load_config_from_jsonMethod · 0.45

Calls 2

set_config_uint16Method · 0.80
get_deviceMethod · 0.80

Tested by

no test coverage detected