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

Method getOtherChannels

nodejs_package/brainflow/board_shim.ts:635–647  ·  view source on GitHub ↗
(
        boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET)

Source from the content-addressed store, hash-verified

633 }
634
635 public static getOtherChannels(
636 boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number[]
637 {
638 const numChannels = [0];
639 const сhannels = [...new Array (512).fill(0)];
640 const res = BoardControllerDLL.getInstance().getOtherChannels(
641 boardId, preset, сhannels, numChannels);
642 if (res !== BrainFlowExitCodes.STATUS_OK)
643 {
644 throw new BrainFlowError (res, 'Could not get board info');
645 }
646 return сhannels.slice(0, numChannels[0]);
647 }
648
649 public static getTemperatureChannels(
650 boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number[]

Callers

nothing calls this directly

Calls 2

fillMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected