BCI 2000 Recovering Frequency Sweep + Auto Delete
Posted: 04 Jan 2025, 12:59
I'm attempting to recover a frequency sweep from a gTec USB Amp recording. The stimulation source is generating sin waves with progressively higher frequencies starting at 1 and progressing at integer increments. Much appreciated, if someone could point me in the right direction for a few of these challenges:
1. I can see the output dat file while the session is in progress, but when I quit the session, this file gets auto deleted. Is there a setting to persistantly record output?
2. The default format appears to be a dat file, can I make it generate an EDF? When I specified edf, no file was generated.
3. The signal I'm generating is a clean sin wave. I can verify it's a clean sign wave with my DMM. In the BCI2000 gui, I'm seeing the tops of the crests chopped off. I've attempted to turn off any filtering as you can see below. Is there something else to try to get a clean answer?
4. The Sampling Rate of 256 sets a fairly low bar for frequency recovery. I'm attempting to generate a signal at 40000 Hz. When I set this value higher, I appear to get timeouts in the log messages. What's the upper bound of this recording sampling rate?
5. There's an option Detect Data Loss, how do I use this option if I'm recording from a gUSB Amp.
6. Maybe I want to try an Acquisition Mode of Calibration, how do I make that happen.
Environment:
BCI 2000 ver 3.6.7385
gUSB Amp: UR 2019 05 04
Stimulation source connected to channel 1 and ground connected on group A's yellow ground DIN.
I start the BCI 2000 with the following batch file:
"D:\BCI2000\BCI2000 v3.6.beta.R7385\BCI2000.x64\batch\CursorTask_gUSBamp.bat"
Source Configuration Tab:
SourceCh: 1
Sample Block Size: 1
Sampling Rate: 256
Channel Name: <blank>
SourceChOffset: 0
Source Ch Gain: 1
Aquisition MOde: analog signal aquisition
common ground: true
Comon Reference: true
enable digital input: <unchecked>
enable digital output: use expressions (after signal aquisition)
Digital output Ex: <default>
Detect Data Loss: <unchecked>
NumBuffers: 2
Device IDs: auto
Device ID Master: auto
SourceChList: auto
SourceChDevices: 1
Filter Enabled: 0
Filter High Pass: 0
Filter Low Pass: 60
Filter Model Order: 8
Filter Type: 1
Notch Enabled 0
Notch High Pass: 58
Notch Low Pass: 62
Notch Model Order: 4
NOtch Type: 1
Source Buffer Size: 2s
Align Channels: unchecked
SourceChTimeOffset: <empty>
TransmitChList: *
Storage Configuration Tab:
DataDirectory: ../data
DataFile: ${SubjectName}${SubjectSession}/${SubjectName}S${SubjectSession}R${SubjectRun}.${FileFormat}
SubjectName: test
SubjectSession: 001
Subject Run: 01
ID_System: <blank>
ID_Amp: <blank>
ID_Montage: <blank>
StorageTime: <blank>
FileFormat: dat
FileSplittingCondition: <blank>
1. I can see the output dat file while the session is in progress, but when I quit the session, this file gets auto deleted. Is there a setting to persistantly record output?
2. The default format appears to be a dat file, can I make it generate an EDF? When I specified edf, no file was generated.
3. The signal I'm generating is a clean sin wave. I can verify it's a clean sign wave with my DMM. In the BCI2000 gui, I'm seeing the tops of the crests chopped off. I've attempted to turn off any filtering as you can see below. Is there something else to try to get a clean answer?
4. The Sampling Rate of 256 sets a fairly low bar for frequency recovery. I'm attempting to generate a signal at 40000 Hz. When I set this value higher, I appear to get timeouts in the log messages. What's the upper bound of this recording sampling rate?
5. There's an option Detect Data Loss, how do I use this option if I'm recording from a gUSB Amp.
6. Maybe I want to try an Acquisition Mode of Calibration, how do I make that happen.
Environment:
BCI 2000 ver 3.6.7385
gUSB Amp: UR 2019 05 04
Stimulation source connected to channel 1 and ground connected on group A's yellow ground DIN.
I start the BCI 2000 with the following batch file:
"D:\BCI2000\BCI2000 v3.6.beta.R7385\BCI2000.x64\batch\CursorTask_gUSBamp.bat"
Source Configuration Tab:
SourceCh: 1
Sample Block Size: 1
Sampling Rate: 256
Channel Name: <blank>
SourceChOffset: 0
Source Ch Gain: 1
Aquisition MOde: analog signal aquisition
common ground: true
Comon Reference: true
enable digital input: <unchecked>
enable digital output: use expressions (after signal aquisition)
Digital output Ex: <default>
Detect Data Loss: <unchecked>
NumBuffers: 2
Device IDs: auto
Device ID Master: auto
SourceChList: auto
SourceChDevices: 1
Filter Enabled: 0
Filter High Pass: 0
Filter Low Pass: 60
Filter Model Order: 8
Filter Type: 1
Notch Enabled 0
Notch High Pass: 58
Notch Low Pass: 62
Notch Model Order: 4
NOtch Type: 1
Source Buffer Size: 2s
Align Channels: unchecked
SourceChTimeOffset: <empty>
TransmitChList: *
Storage Configuration Tab:
DataDirectory: ../data
DataFile: ${SubjectName}${SubjectSession}/${SubjectName}S${SubjectSession}R${SubjectRun}.${FileFormat}
SubjectName: test
SubjectSession: 001
Subject Run: 01
ID_System: <blank>
ID_Amp: <blank>
ID_Montage: <blank>
StorageTime: <blank>
FileFormat: dat
FileSplittingCondition: <blank>