MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_board_sampling_rate

Method get_board_sampling_rate

cpp_package/src/board_shim.cpp:285–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285int BoardShim::get_board_sampling_rate (int preset)
286{
287 int sampling_rate = -1;
288 int res =
289 ::get_board_sampling_rate (preset, &sampling_rate, board_id, serialized_params.c_str ());
290 if (res != (int)BrainFlowExitCodes::STATUS_OK)
291 {
292 throw BrainFlowException ("failed to get board sampling rate", res);
293 }
294 return sampling_rate;
295}
296
297//////////////////////////////////////////
298///////////// data desc methods //////////

Callers

nothing calls this directly

Calls 2

get_board_sampling_rateFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected