MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / pushSweepConfig

Method pushSweepConfig

app/src/UI/Widgets/Plot.cpp:499–508  ·  view source on GitHub ↗

* @brief Pushes the current trigger configuration into the Dashboard engine. */

Source from the content-addressed store, hash-verified

497 * @brief Pushes the current trigger configuration into the Dashboard engine.
498 */
499void Widgets::Plot::pushSweepConfig()
500{
501 UI::Dashboard::instance().setPlotSweep(m_index,
502 m_sweepEnabled,
503 m_triggerLevel,
504 static_cast<int>(m_triggerEdge),
505 static_cast<int>(m_sweepMode),
506 m_holdoffMs * 0.001,
507 m_timebaseMs * 0.001);
508}
509
510//--------------------------------------------------------------------------------------------------
511// Data updates

Callers

nothing calls this directly

Calls 1

setPlotSweepMethod · 0.80

Tested by

no test coverage detected