example code for digital I/O on linux?

2 visualizaciones (últimos 30 días)
Matt Panichello
Matt Panichello el 23 de Dic. de 2021
Editada: Matt Panichello el 23 de Dic. de 2021
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.

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by