internal void Grab(DataSrv DatSrv, StimSrv StimSrv, Logger Debugger, string NRFilePath, bool NRRecording, NeuroRighter NR) { this.NRDataSrv = DatSrv; this.NRStimSrv = StimSrv; this.debugger = Debugger; this.nrFilePath = NRFilePath; this.nrRecording = NRRecording; this.NR = NR;//we need a reference back to NR to initiate the stop sequence }
internal ClosedLoopOut(NRTask CLE, int fs, DataSrv DatSrv, StimSrv StimSrv, Task buffLoadTask, Logger Debugger, string NRFilePath, bool NRRecording, NeuroRighter NR) { this.CLE = CLE; this.outputSampFreq = fs; this.DatSrv = DatSrv; this.StimSrv = StimSrv; this.useManStimWave = false; this.buffLoadTask = buffLoadTask; this.Debugger = Debugger; this.NRFilePath = NRFilePath; this.NRRecording = NRRecording; this.NR = NR; }
internal ClosedLoopOut(NRTask CLE, int fs, DataSrv DatSrv, StimSrv StimSrv, Task buffLoadTask, Logger Debugger, string NRFilePath, bool NRRecording, NeuroRighter NR, double[] standardWave) : this(CLE, fs, DatSrv, StimSrv, buffLoadTask, Debugger, NRFilePath, NRRecording, NR) { this.guiWave = standardWave; this.useManStimWave = true; }