-
Notifications
You must be signed in to change notification settings - Fork 15
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
Open Ephys Crashes when Adding NI-DAQmx Plugin to Signal Chain #16
Comments
Hi, Have the NIDAQmx drivers been installed via the Requirements section here: https://open-ephys.github.io/gui-docs/User-Manual/Plugins/NIDAQmx.html#requirements If so, what is the NI device model you are using? |
The computer has the latest version of NIDAQmx installed and I've confirmed it works with other software (and earlier versions of the plugin/OpenEphys). |
What was the last combination of GUI + plugin version that was working with your described setup? Is the second DAQ a digital only card? Does disconnecting it make any difference with the latest GUI + plugin version? |
GUI version was 5.5.4 and plugin version was 0.1.0 from 2023-10-26. The second DAQ is a digital only card but we can't disconnect it very easily since it's a PCI DAQ and there's behavior actively running off that computer. |
Got it. I'm working on a fix for this case, will post a version here to test early next week. |
Thank you! Great to hear! |
Hi, Can you try replacing your nidaq-plugin with this one? This is a temporary fix to ignore your PCI device and only load any USB or PXI devices. The plugin is located in C:/ProgramData/Open Ephys/plugins You should see output similar to below in the console window after inserting the new nidaq-plugin: [open-ephys] *** Added device: Dev3 with product name: USB-6001 |
Looks like that works, thank you! This is probably better suited for a separate issue but is there any way to go above 40 kHz sampling? |
Because the GUI's data processing callbacks are driven by your computer's audio card, if you have a card that can go up to 96 or 192 kHz, it would be possible to increase the max sample rate of the NIDAQ plugin. In general, though, we recommend using a separate piece of software (like Bonsai) to record >30 kHz signals. What type of signals you'd like to record at higher sampling rates? |
The main curiosity was if it would be possible to visualize a stimulation waveform (50 us pulsewidth) with relatively good resolution. We use the NIDAQ plugin for other purposes but it could be nice to just be able to quickly visualize many stimulation outputs in the clean interface (and with the plugins) the OpenEphys GUI has to offer. I do think our sound cards can go up to 192 kHz so that would likely be sufficient but if there's an existing cleaner solution in other software that would work as well! |
I would recommend acquiring the stimulation waveform using a separate NIDAQ card – the Bonsai DAQmx package should work well for this. You can configure the sampling rate to the max of what your DAQ can acquire. |
When I try all available versions of the plugin with the most recent versions of OpenEphys, the GUI will immediately crash after adding the plugin to the signal chain. The following text is the related portion of the log file:
Let me know if any other information would be helpful!
The text was updated successfully, but these errors were encountered: