example code for digital I/O on linux?
3 views (last 30 days)
Show older comments
Hi, I'd like to send and read in digital signals in Matlab R2021a running on Ubuntu 20.04.02.
I'm working with an PCIe-6343 I/O device from NI (https://www.ni.com/en-us/support/model.pcie-6343.html).
As this ticket notes, the Data Acquisition Toolbox is not supported on Linux. As a workaround, Mathworks recommends:
"To work around this issue, you can use MEX or LOADLIBRARY. For example, if your hardware supports the “comedi” Linux DAQ generic interface, please refer to the following MATLAB Central File Exchange submission:"
I'm not familiar with MEX, LOADLIBRARY, or comedi and am not really sure how to parse this or where to begin. Would anyone be able to provide a more detailed guide for accomplishing digital I/O within matlab on linux, particularly for NI devices?
Thanks in advance for any help.
0 Comments
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!