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

Method getVersion

nodejs_package/brainflow/ml_model.ts:127–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 // logging methods
127 public static getVersion(): string
128 {
129 const len = [0];
130 let out = ['\0'.repeat(512)];
131 const res = MLModuleDLL.getInstance().getVersionMLModule(out, len, 512);
132 if (res !== BrainFlowExitCodes.STATUS_OK)
133 {
134 throw new BrainFlowError (res, 'Could not get version info');
135 }
136 return out[0].substring(0, len[0]);
137 }
138
139 public static setLogLevel(logLevel: LogLevels): void
140 {

Callers 1

prepare_sessionMethod · 0.45

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected