11-25-2016 07:13 AM
Hey,
I'm interested in the USB-6210 to use for my Bachelor's thesis. Unfortunately, I cannot buy any licences for LabVIEW and I have to work with Linux only. Are there any (open-source) options to simply measure 5 diff. channels of the 6210 with Linux? I'm thinking of C/C++... Maybe there are some libraries or even example codes available?
Thanks!
C.Cr
11-27-2016 01:41 PM - last edited on 07-16-2024 10:39 AM by Content Cleaner
Hi!
yes the driver the USB-6210 uses is the NI-DAQmx driver. The driver features a ANSI C and .NET API beside the LabVIEW support.
NI-DAQmx 16.0 Readme - National Instruments
https://www.ni.com/pdf/manuals/374768k.html
You can download the DAQmx API for free and if you install the MAX (Measurement & Automation Explorer) you can also simulate a USB-6210 and test if your driver call work.
Download:
https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html#288254
You find a lot of documentation for DAQmx for ANSI C & .NET and also there are a lot of examples that install with the NI-DAQmx driver:
Location of ANSI C NI-DAQmx Shipping Examples and DAQmx Library File for Windows
Using NI-DAQmx in Text Based Programming Environments
Where Can I Find Documentation for DAQmx Functions in All Visual Studio Environments?
Regards,
Christoph
11-28-2016 04:53 AM
Well, thanks for the effort I guess, but I'm not sure if I'm just stupid or if this is a major misunderstanding. As far as I can see, all the links are aimed at Windows users. Unfortunately, I cannot use Windows. That's why I'm asking...
Regards
C.Cr
11-28-2016 04:58 AM - last edited on 07-16-2024 10:40 AM by Content Cleaner
Sorry, I didnt see the 'Linux', only the no LabVIEW part.
There is also a DAQmx Linux driver called DAQmx Base:
NI-DAQmx Base 15.0 - National Instruments
https://www.ni.com/en/support/downloads/drivers/download.ni-daqmx-base.html#326059
There are some limitation (see readme for that), but in general you can follow most (Windows) tutorial for the C API.
Regards,
Christoph
11-28-2016 05:05 AM
No problem! I'll look into that, Thanks 🙂
C.Cr