Group Abstract Group Abstract

Message Boards Message Boards

[WSS17] Mathematica connection to NI - Data Acquisition (DAQ) cards

POSTED BY: Suman Banerjee
5 Replies
Posted 5 years ago
POSTED BY: Tim Kim

It is nice to know that you are able to control your DAQ card using Mathematica!

I worked on this long time ago and unfortunately I do not remember many things about this project now. I tried to find some resources for you.

task@AIChannels@CreateVoltageChannel[
   "cDAQ1Mod3/ai1, cDAQ1Mod3/ai2",
   "",
   termConfig, 
   -6.0, (*voltage level*)
   6.0,
   aiVolts  
   ]

should work for multi-channel measurements. I also found this document Using NI-DAQmx in Text Based Programming Environments was helpful. It may help you as well.

POSTED BY: Suman Banerjee

Hi, Please check the NB added. I hope it helps!

Attachments:
POSTED BY: Suman Banerjee

Thanks a lot Suman! It took me some time...I had to change your code a little to adapt it to my set up, but now I have it working...almost. I would actually need to read more than one input simultaneously, to be able to correlate measurements. I know the NI-DAQ (cDAQ9184-1A54FE2) can do it. So, if you could point me to the function (or functions) to do it...Thanks

Hi Suman. I'm a physics student and i'm tryng to communicate with a NI-DAQ using Wolfram Mathematica, for a class experiment i'm running. I found you developed a tool called DAQmxLink to do just that...or so I understood. I searched for it all over the web but I couldn't find it! Here you shared a GitHub link (https://github.com/sumanban/HW_submit/blob/master/HW_suman%20_fin.nb), which I thought would contain the answer for my questions, but it gets me to some other code of yours that has nothing to do with the one I'm looking for...I don't know why. In any case, if you could direct me to that code or something similar that helped me do that, I would be very grateful!! Thanks.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard