06-06-2019 10:46 AM
Hi,
Where can I find a tutorial or an exemple to use DaqMx with QT under Linux Redhat ?
I want to drive a NI6503 24E/S board
Thanks
06-06-2019 11:04 AM
Hello JG30100,
It is not an example or tutorial, but I have been working with Marc Gronle at the University of Stuttgart to port a niDAQmx plugin of the itom software system (see https://itom.bitbucket.io) to Centos 7. This is probably close enough to Redhat to give you some idea of what is required. Right now this project is in the very early stages and very incomplete, due to the plugin being a student project that was never really completed. However, I can send you a link to the git branch that I am working on if that will help. My hardware is a PCI 6220 card.
Regards,
Dan
06-06-2019 11:08 AM
Yes, it could help me. I will be pleased to have your link.
JG30
06-06-2019 03:21 PM
The niDAQmx-linux branch (of the itom plugin repository) can be cloned by:
git clone https://bitbucket.org/dnessett/plugins/src/niDAQmx-linux/
or viewed by pasting the url into your browser.
This provides the source to all the itom plugins. The one you are interested in is niDAQmx.
If you want to study the plugin code you will need access to the itom repository code, where many of the data structures are defined:
git clone https://bitbucket.org/itom/itom/src/master/
There is good documentation at: https://itom.bitbucket.io/documentation.html, and within that, the developer documentation is located at: https://itom.bitbucket.io/latest/doxygen/index.html
Here are some comments that might help you study the code: 1) itom makes heavy use of both qt5 and opencv data structures (the latter is a computer vision application - itom started out focusing on computer vision); 2) itom is a large program complex and if your main interest is niDAQmx using QT, I wouldn't pay much attention to the other plugins; 3) most of the QT5 data structures are defined in the QT5 file tree - on my machine this is installed by yum and the header files are in /usr/include/qt5.
I will attempt to answer questions about the niDAQmx plugin, but for more general questions about itom, you can join the email discussion list to which you can subscribe at: https://sourceforge.net/p/itom/mailman/. There is an email archive at: https://sourceforge.net/p/itom/mailman/itom-discussions/
Cheers,
Dan
06-12-2019 03:15 AM
Hi Dan,
Thanks but I cannot find the way to install DaqMx on linux and where NiDaq libraries are to be able to use them.
Others ideas ?
06-12-2019
04:07 PM
- last edited on
11-18-2024
07:52 PM
by
Content Cleaner
08-07-2019 06:56 AM
Hello dnessett,
It's a cool project.
But as for the requirement of the project, i need to use the NI under Ubuntu 18.04.
Do you have any experience on how to install the NI driver on ubuntu?
Best wishes,
ZHongliang