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

Method get_other_channels

cpp_package/src/board_shim.cpp:571–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571std::vector<int> BoardShim::get_other_channels (int board_id, int preset)
572{
573 int channels[MAX_CHANNELS];
574 int len = 0;
575 int res = ::get_other_channels (board_id, preset, channels, &len);
576 if (res != (int)BrainFlowExitCodes::STATUS_OK)
577 {
578 throw BrainFlowException ("failed to get board info", res);
579 }
580 return std::vector<int> (channels, channels + len);
581}
582
583std::vector<int> BoardShim::get_temperature_channels (int board_id, int preset)
584{

Callers

nothing calls this directly

Calls 2

get_other_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected