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

Method get_eda_channels

cpp_package/src/board_shim.cpp:487–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487std::vector<int> BoardShim::get_eda_channels (int board_id, int preset)
488{
489 int channels[MAX_CHANNELS];
490 int len = 0;
491 int res = ::get_eda_channels (board_id, preset, channels, &len);
492 if (res != (int)BrainFlowExitCodes::STATUS_OK)
493 {
494 throw BrainFlowException ("failed to get board info", res);
495 }
496 return std::vector<int> (channels, channels + len);
497}
498
499std::vector<int> BoardShim::get_ppg_channels (int board_id, int preset)
500{

Callers

nothing calls this directly

Calls 2

get_eda_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected