MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / setFrameRate

Method setFrameRate

tmp/grutil/src/grtimeplotaddon.cpp:583–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583void GRTimePlotAddon::setFrameRate(double val)
584{
585 int timeout = (1.0 / val) * 1000;
586 m_plotTimer->setInterval(timeout);
587}
588
589void GRTimePlotAddon::setXMode(int mode) { m_xmode = mode; }
590

Callers

nothing calls this directly

Calls 1

setIntervalMethod · 0.45

Tested by

no test coverage detected