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

Method getEegNames

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

Source from the content-addressed store, hash-verified

714 }
715
716 public static getEegNames(boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): string[]
717 {
718 const len = [0];
719 let out = ['\0'.repeat(4096)];
720 const res =
721 BoardControllerDLL.getInstance().getEegNames(boardId, preset, out, len, out[0].length);
722 if (res !== BrainFlowExitCodes.STATUS_OK)
723 {
724 throw new BrainFlowError (res, 'Could not get device info');
725 }
726 return out[0].substring(0, len[0]).split(",");
727 }
728
729 public static getBoardDescr(boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): Object
730 {

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected