Hi NR users,
We are using NeuroRighter to deliver a real-time closed-loop systems. During the experiment, we are trying to use SqueakySpk to process data streams that we recorded and have met several problems.
version: NeuroRighter v1.1.0.564
DAQ card: 3 pieces of PCIe 6259
system: windows 7
Matlab code from: downloads section of the NR google code site and SqueakySpk matlab class( we have noticed that the loadspike.m code cannot be used to read .spk file that we got, we are using loadspk.m).
The electrical stim.data streams cannot record stimulation time and channels.
Experiment procedure:
1).Ensure hardware settings;
2).Test impedance;
3).Set recording streams;
4).Use manual stimulation to deliver defined stimulation to chosen channel( we can see the correct waveform through oscilloscope, and we can see stimulation artifact in spikes GUI)
5). Create a new file and enable recording, hit the green start button. Start!
6).The problem is coming: the .stim file that we recorded is always 22 bytes. No matter how long we recorded.
7).Use Matlab to read .spk and .stim files;
The result:
NEURORIGHTER SPIKE RECORD
Sampling rate (Hz): 25000
ADC Polling period (sec): 0.05
Number of channels: 64
Digital gain: 2
This file does not contain unit information
Samples per waveform: 50
Recording time (yr-mo-dy-hr-mi-sc-ms): 2016-5-20-21-42-9-227
Number of spikes: 19488
recording duration: 67.9025
------------
Entering search for desired spikes.
Looking for first spike... done
Looking for last spike... done
Loading a total of 19488 spikes:
Starting at time 0.00056
Ending at time 67.9025
...done
Load complete.
NEURORIGHTER STIMULATION RECORD
Sampling rate: 25000
Recording time (yr-mo-dy-hr-mi-sc-ms): 2016-5-20-21-42-9-227
Number of stimuli: 0
We can see that there is no data in .stim file.
Could you please give us some advice about this problem?
Thank you very much!
Xuan LUO