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

Method getMarkerChannel

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

Source from the content-addressed store, hash-verified

428 }
429
430 public static getMarkerChannel(
431 boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number
432 {
433 const value = [0];
434 const res = BoardControllerDLL.getInstance().getMarkerChannel(boardId, preset, value);
435 if (res !== BrainFlowExitCodes.STATUS_OK)
436 {
437 throw new BrainFlowError (res, 'Could not get such data from this device');
438 }
439 return value[0];
440 }
441
442 public static getBatteryChannel(
443 boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected