DAQmx package

846 views
Skip to first unread message

Raul Mojica

unread,
Jun 29, 2021, 10:53:09 AM6/29/21
to Bonsai Users
Hi all,

I have installed the DAQmx package to interface with my NI DAQ, but the package isn't appearing on my toolbox at all. Are there any issues or incompatibilities with the most recent version of Bonsai?

KPerks

unread,
Jun 29, 2021, 11:00:07 AM6/29/21
to Bonsai Users
I have recently installed DAQmx as well and it is working. It looks like I have Bonsai version 2.5.1 so I will wait to hear the answer to this post before upgrading to latest version.

brunocruz

unread,
Jun 29, 2021, 11:07:29 AM6/29/21
to Bonsai Users

rmojica

unread,
Jun 29, 2021, 11:43:53 AM6/29/21
to Bonsai Users
Hi Bruno,

Thanks for the lighting-fast response! This is what happens when you develop your workflow in a different PC haha.
That was most certainly the issue. 

Best,
Raul

KPerks

unread,
Aug 16, 2021, 10:00:59 AM8/16/21
to Bonsai Users
Hi,
Are there any other reasons why this could be happening? I am also now trying to get my workflows working on a new computer (in a teaching lab) and I am running into the issue of the DAQmx Bonsai package not being listed as an option for workflow nodes even though it is installed. I do have the NI-DAQ MX installed on the computer. NIMAX explorer reads the input from my device correctly (and I quit the NIMAX before trying Bonsai so the device is not being held up by that application... not sure that would even effect the node options).  
I am using the National Instruments USB-6211 device.

KPerks

unread,
Aug 16, 2021, 10:14:29 AM8/16/21
to Bonsai Users
Capture.PNGCapture5.PNGCapture4.PNGCapture3.PNGCapture2.PNG

KPerks

unread,
Aug 16, 2021, 4:13:33 PM8/16/21
to Bonsai Users
I am also able to use the device normally in Matlab using its Nidaq-mx aquisition package and Analog Input Recorder.

James McCutcheon

unread,
Aug 18, 2021, 8:15:36 AM8/18/21
to Bonsai Users
Hi,

I had some issues trying to set up a new computer this afternoon - I couldn't find the Bonsai DAQmx Library in the Package Manager at all. I did, however, find the Bonsai - National Instruments Library. Maybe it is is in the process of being updated as there is recent publishing activity (today).

This library installed fine and I just had to replace the Source and Sink nodes in my workflows with new ones that referenced this library (copying the channel information etc over).

Jaime
Skjermbilde 2021-08-18 141314.jpg

KPerks

unread,
Aug 18, 2021, 10:17:07 AM8/18/21
to Bonsai Users
Hi Jamie, 
Interesting. I am seeing the exact opposite on mine (v2.6.2). DAQmx Library is in the package manager but I can't find the National Instruments Library (which I have used in the past, but not since this: <I can't find the link to the conversation that contains the info, but I thought Goncalo had advised me at some point to use the Bonsai DAQmx package rather than the National Instruments Community package>. Tough DAQmx is in the package manager, its nodes do not show up for use in the menu.

James McCutcheon

unread,
Aug 18, 2021, 11:33:29 AM8/18/21
to Bonsai Users
Do you have the "Include (pre-release)" box checked? That might fix it. One other thing I tried was downloading the package from https://www.myget.org/feed/bonsai-community/package/nuget/Bonsai.NationalInstruments and then adding the download folder to the Package Manager as a local source. Might be worth a try. Good luck!

Krista Perks

unread,
Aug 18, 2021, 3:11:42 PM8/18/21
to James McCutcheon, Bonsai Users
I did not have the "Include" box checked. I see it now and replaced DAQmx Bonsai package with National Instruments Community package.
The option is still not contained in the workflow list of nodes, however. So maybe that is a clue to my problem (that it occurs for both packages). 
Hopefully someone else will have some more ideas to try :)

Thanks for your help, Jamie!




--
You received this message because you are subscribed to a topic in the Google Groups "Bonsai Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bonsai-users/4E9c75YZLR8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/6c24d60c-5ed4-46b3-9cc7-7a4a35452288n%40googlegroups.com.

KPerks

unread,
Aug 26, 2021, 3:49:09 PM8/26/21
to Bonsai Users
I just tried at this again. Today I uninstalled and then re-installed Bonsai. 
The National Instruments package is in the package manager as a community package. I installed it and the NationalInstruments option with AnalogInput and SynchronizedInput are in the menu again. 
I then uninstalled that and installed the DAQmx package from Bonsai Packages instead (it has a more recent update date). DAQmx with AnalogInput is in the menu. It recognized my National Instruments USB6211 device. The same is true for the AnalogInput from the NationalInstruments community package.

Yay! Issue resolved for now.

Julian

unread,
Mar 1, 2022, 9:07:56 AM3/1/22
to Bonsai Users
Hi,
Do you know what the issue was in the end?  I was just trying to set up the DAQmx package and am getting the same problem- with the workflow nodes not showing up. This is with Bonsai 2.6.3. I tried NI-DAQmx versions 20.7 and 21.3 with NI-DAQmx Support for .NET Framework 4.0 and 4.5 Languages installed. Reinstalling Bonsai did not resolve it either.
Thanks,
Julian

KPerks

unread,
Mar 1, 2022, 9:21:37 AM3/1/22
to Bonsai Users
Unfortunately I don't know what the issue was. It still happens sometimes when I try to install on a new computer (which happens in the course of trying to teach courses using these resources). Somehow, one of my installations worked (can't figure out what I did differently) and I ended up saving that installation on a USB to copy directly to other computers of the same type. I would love to know the systematic way to make it work reliably rather than by chance on my end. Please keep me in the loop and I will let you know if I find anything more. 

Julian

unread,
Mar 1, 2022, 9:27:23 AM3/1/22
to Bonsai Users
Hi and thanks for the quick reply! I will try again and will update here if I can find out what the issue is

Julian

unread,
Mar 8, 2022, 5:31:57 AM3/8/22
to Bonsai Users
Ok, I reinstalled a few times and in the end it worked with an offline install of ni daqmx 19 and a fresh bonsai install. I am still not sure if this is a version thing or something else but it is working now

KPerks

unread,
Aug 11, 2022, 4:55:26 PM8/11/22
to Bonsai Users
More information.
I ran into this problem again (installing the daqmx package and not having the nodes show up in the editor) when doing a fresh install of Bonsai (after messing up the old one somehow) on my computer.
This time I found a way to make it work without doing any other versioning or installs, etc. 
When Bonsai.exe download does the install, it makes TWO separate 'Applications' that are stored in the default (for me user\AppData\Local\Bonsai). One of them is called "Bonsai" and the other is "Bonsai32". I don't know what the difference between these is on the backend. But, after installing the DAQmx package, if I run the Bonsai32 application the editor has the DAQmx nodes, while if I run the Bonsai application the DAQmx nodes are nowhere to be found in the menu. 
Hope this helps.
Let me know if anyone knows the "why" on this.
I will add an "issue" in the github site since that is where docs are moving.
Reply all
Reply to author
Forward
0 new messages