Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputs to basestation #5

Open
ajuavinett opened this issue Aug 26, 2017 · 9 comments
Open

Inputs to basestation #5

ajuavinett opened this issue Aug 26, 2017 · 9 comments

Comments

@ajuavinett
Copy link

ajuavinett commented Aug 26, 2017

Hey all -- I'd like to make sure I'm understanding the manual correctly. On the sync board, there's a 24 pin sync header with input for 15 signals, as well as an EXT_START pin. Theoretically, you could send in 15 5V logic signals, plus your EXT_Start signal (I'm not entirely clear on how this is different from the other pins). Right?

Further, will SpikeGLX or OpenEphys acquisition systems be able to read these in? How is everyone dealing with external inputs, and syncing recording data with stimuli, tracking, movement, etc.?

Any input would be super appreciated!

@nsteinme
Copy link
Contributor

nsteinme commented Aug 26, 2017 via email

@ajuavinett
Copy link
Author

Thanks! I'm curious about this openEphys timing thing, if anyone has additional info on that...

Is that a reason you use a NI-DAQ instead of an arduino for recording the analog signals?

(Also, I'm curious, which signals are analog? Because even our rotary encoder outputs a digital signal...)

@ajuavinett
Copy link
Author

And final question for clarity, there is no way to read in analog signals into the basestation, right?

@petersaj
Copy link

(here's a link to a thread talking about syncing digital inputs via open ephys: cortex-lab/KiloSort#77 - hopefully that answers but let me know if not)

@nsteinme
Copy link
Contributor

nsteinme commented Aug 30, 2017 via email

@apfdomanski
Copy link

I thought a fun hack here could be to get a signal into the FPGA as a 16 bit parallel word, using an external ADC to send one bit to each of the 16 digital inputs and reconstruct the data from the bitwise representation. In reality however, I capture simultaneous analogue signals elsewhere and align a common sync pulse post-hoc as Nick suggests!

@nsteinme
Copy link
Contributor

nsteinme commented Oct 11, 2017 via email

@weallen
Copy link
Collaborator

weallen commented Nov 4, 2017

Has anyone tried implementing a serial protocol with the digital inputs to the nidaq or FPGA? So that you could, for example, encode the ASCII name of the mouse/protocol/session directly in the recording data. I'm trying to figure out how to run multiple protocols right now; the simplest sync solution is just to have a pulse at the start of each protocol and write them down in the order I run them, but seems like there could be a more sophisticated solution...

@nsteinme
Copy link
Contributor

nsteinme commented Nov 6, 2017

The serial protocol would be really cool! With the synchronization scheme I suggested above, you can figure out which part of the neuropixels recording each other recording corresponded to, I believe, since the pattern of up/down flips will be unique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants