Electrical stim.data streams cannot be recorded correctly.

14 views
Skip to first unread message

Xuan LUO

unread,
Jul 14, 2016, 9:50:51 AM7/14/16
to NeuroRighter Users
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

Xuan LUO

unread,
Jul 14, 2016, 9:56:49 AM7/14/16
to NeuroRighter Users
Attached with the pictures for reference.
hardware settings for stimulation.tiff
hardware settings for stimulation timing.tiff
recording stream setup.tiff
loadspk and loadstim.tiff
stimdat struct.tiff

Riley Zeller-Townson

unread,
Jul 18, 2016, 12:43:41 AM7/18/16
to neurorigh...@googlegroups.com
Well, I can see from your hardware settings tab that you've configured NR to record stimulation data on device 3.  The next question you should ask is whether or not your hardware itself is configured to match the settings you have in software.  Take a look at this part of the user manual: https://sites.google.com/site/neurorighter/user-manual/system-setup#_Toc226960254
From the manual, this corresponds to the connection between AO 3 and AI 16 on device 3.  If that connection is in place already, it would be a good idea to put an oscope on that signal and verify that upon stimulation you get signals there as well. 

On Thu, Jul 14, 2016 at 9:56 AM, Xuan LUO <yob...@outlook.com> wrote:
Attached with the pictures for reference.

--
You received this message because you are subscribed to the Google Groups "NeuroRighter Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neurorighter-us...@googlegroups.com.
To post to this group, send email to neurorigh...@googlegroups.com.
Visit this group at https://groups.google.com/group/neurorighter-users.
For more options, visit https://groups.google.com/d/optout.



--
Riley Zeller-Townson
PhD student, Butera lab
Laboratory for Neuroengineering
Georgia Tech/Emory University
Atlanta, GA, USA
Reply all
Reply to author
Forward
0 new messages