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

Method get_eog_channels

cpp_package/src/board_shim.cpp:475–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475std::vector<int> BoardShim::get_eog_channels (int board_id, int preset)
476{
477 int channels[MAX_CHANNELS];
478 int len = 0;
479 int res = ::get_eog_channels (board_id, preset, channels, &len);
480 if (res != (int)BrainFlowExitCodes::STATUS_OK)
481 {
482 throw BrainFlowException ("failed to get board info", res);
483 }
484 return std::vector<int> (channels, channels + len);
485}
486
487std::vector<int> BoardShim::get_eda_channels (int board_id, int preset)
488{

Callers

nothing calls this directly

Calls 2

get_eog_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected