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

Method get_ecg_channels

cpp_package/src/board_shim.cpp:463–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463std::vector<int> BoardShim::get_ecg_channels (int board_id, int preset)
464{
465 int channels[MAX_CHANNELS];
466 int len = 0;
467 int res = ::get_ecg_channels (board_id, preset, channels, &len);
468 if (res != (int)BrainFlowExitCodes::STATUS_OK)
469 {
470 throw BrainFlowException ("failed to get board info", res);
471 }
472 return std::vector<int> (channels, channels + len);
473}
474
475std::vector<int> BoardShim::get_eog_channels (int board_id, int preset)
476{

Callers

nothing calls this directly

Calls 2

get_ecg_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected