billkarsh / SpikeGLX

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

format of nidq binary file #9

Closed agbondy closed 5 years ago

agbondy commented 5 years ago

Hi again Bill! A question about parsing the nidq binary files. We are recording with 3b probes and NI acquisition system here in the Brody lab. For my recent recordings, I acquired two digital channels on the nidq stream (one for syncing with imec and and the other for syncing with the animal's behavior) but I seem to only have one channel of data in the *.nidq.bin file that has somehow multiplexed both inputs. (As far as I can tell, unique values in the binary data are 0, 1, 2 and 3, where and 1 and 2 mean just channel 1 or just channel 2 high respectively and 3 means both high). Perhaps I'm just interpreting this wrong? Can you clarify the format of multi-channel nidq binary files? Thanks!

billkarsh commented 5 years ago

Hi Adrian,

Please use the github to report confirmed bugs. If you have a suspected bug or just need help please write to me directly.

NI binary channels are packed together, up to 16 at a time, into 16-bit output channels. This is documented in the user manual. If the manual does not answer your question, let me know. Bill

From: Adrian Gopnik Bondy [mailto:notifications@github.com] Sent: Sunday, June 09, 2019 1:18 PM To: billkarsh/SpikeGLX SpikeGLX@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [billkarsh/SpikeGLX] format of nidq binary file (#9)

Hi again Bill! A question about parsing the nidq binary files. We are recording with 3b probes and NI acquisition system here in the Brody lab. For my recent recordings, I acquired two digital channels on the nidq stream (one for syncing with imec and and the other for syncing with the animal's behavior) but I seem to only have one channel of data in the *.nidq.bin file that has somehow multiplexed both inputs. (As far as I can tell, unique values in the binary data are 0, 1, 2 and 3, where and 1 and 2 mean just channel 1 or just channel 2 high respectively and 3 means both high). Perhaps I'm just interpreting this wrong? Can you clarify the format of multi-channel nidq binary files? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_billkarsh_SpikeGLX_issues_9-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABWEDUE3VVCQQ2BIHSKBLNTPZU3LLA5CNFSM4HWLIZ62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYOIALQ&d=DwMCaQ&c=LU6cRtx0xgB8s29tIz9Olw&r=0vvSFKZvJTxorur_z5owbqOFewpNsc0lVMtd1qwN7RY&m=3eGEo3uC71-bnMVKOV91tZg3KiYXUtONaf24AGT-g1o&s=6e5YQB37hQC-JfsOl4gFKTqJE3hMzHsHb7lg8Icy98Q&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABWEDUAJV4VQR3B7DD4GRM3PZU3LLANCNFSM4HWLIZ6Q&d=DwMCaQ&c=LU6cRtx0xgB8s29tIz9Olw&r=0vvSFKZvJTxorur_z5owbqOFewpNsc0lVMtd1qwN7RY&m=3eGEo3uC71-bnMVKOV91tZg3KiYXUtONaf24AGT-g1o&s=LfujnjnfKOa2fxCKsfE5GScjOctC-HBrGtfeps-HVwc&e=.

agbondy commented 5 years ago

Got it. I figured out the file format and will contact you directly if I have questions going forward. Thanks!

Qifan94 commented 5 years ago

Got it. I figured out the file format and will contact you directly if I have questions going forward. Thanks!

Hi, Adrian. May I have your email please? I also have some problem when I am tring to record behaviour marker from NI device.