billkarsh / SpikeGLX

SpikeGLX recording system GUI [Neuropixels NI]
Other
83 stars 29 forks source link

Question on behaviour markers #12

Closed Qifan94 closed 5 years ago

Qifan94 commented 5 years ago

Hi. I am a junior PhD student and I am working on the neuropixels probes as well. For testing the behavior marker, I use two PCIe-6341 NI cards with BNC boxes. One is connected to Monkeylogic PC (a monkey task matlab packge) to send behaviour markers to the SpikeGLX recording PC.

By using the Digital Input channel, I got signals like this.

图片

图片 Sorry for the bad quality of pictures.

The markers I used are `111111,010010, 001001 in sequnce. But I recieved not only pulse signals but also some long square wave. So I wonder is there any mistake?

Qifan94 commented 5 years ago

In other words, is there a strobe channel like other recording systems in SpikeGLX?

billkarsh commented 5 years ago

In SpikeGLX digital lines are recorded as the individual bits of the 16-bit XD words in each timepoint. I see in the settings you are recording digital lines 0:6, so these are the low 7 bits of a single 16-bit DX word in the NI stream. And in the screenshot of the graphs window you see 7 digital traces, but the waveforms look unfamiliar to you.

I don’t know how the marking codes work in Monkeylogic, nor do I know the term ‘strobe channel’. I have no idea how these signals are expected to look. However, SpikeGLX should be faithfully recording the signals that you have applied to the NI input terminals.

I recommend to break out the individual digital (TTL) signals and look at them on a scope at the same time to see if they are real. Look on the scope and SpikeGLX together because this might change the impedances, hence, the shapes. Let me know what that shows. Bill

From: Qifan_17 [mailto:notifications@github.com] Sent: Monday, September 23, 2019 3:53 AM To: billkarsh/SpikeGLX SpikeGLX@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [billkarsh/SpikeGLX] Question on behaviour markers (#12)

In other words, is there a strobe channel like other recording systems in SpikeGLX?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/billkarsh/SpikeGLX/issues/12?email_source=notifications&email_token=ABWEDUFRA7NURGKRZGXYXLTQLBYVRA5CNFSM4IZCD352YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7KBXJQ*issuecomment-533994406__;Iw!oCotSwSxbw8!Uu4AmyZP8ANaKHplIp8m16MsT64RQYYLH4pufUZVuZ45CkUX52btoS_91bCiWUQqoFA$, or mute the threadhttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ABWEDUGZZGDSXUWLPHK4UWDQLBYVRANCNFSM4IZCD35Q__;!oCotSwSxbw8!Uu4AmyZP8ANaKHplIp8m16MsT64RQYYLH4pufUZVuZ45CkUX52btoS_91bCiQm3pdEM$.

Qifan94 commented 5 years ago

Hi, Bill. Thanks a lot for your help. I found I did a mistake of setting in MonkeyLogic. And I got the good event marker now.