Jump to content
  • 0

MATLAB & MCC 128 / 172 DAQ HAT RPI4 Data Acquisition


Question

6 answers to this question

Recommended Posts

  • 0
Posted

MatLab has no native support for the MCC 128 & 172. If you could install MatLab onto a Raspberry PI, you might be able to access the boards by importing the library and using C code.

  • 0
Posted

I ran a few searches and it appears that MatLab cannot be installed into Raspbian. The MCC 128 and 172 require the Raspbian OS, so there is no way to make it work. I also saw that MatLab has native support for Raspberry PI hardware. Unfortunately, this does not include our boards.

  • 0
Posted

And it's not possible to read the signals directly from the Raspberry GPIO Pins? Which GPIO Pins are used by MCC 128 / 172?

  • 0
Posted

It is not possible to read the inputs with simple GPIO control. Our driver uses GPIO and the SPI bus to select and control each board, and how it works is proprietary information. If you want it to work with MatLab, create a program that turns the Raspberry PI into a device capable of sending data (Ethernet or Serial) and investigate the best way to read the data with MatLab.  

The GPIO resources are listed in the Interface Specifications of the electrical specifications pdf:

https://mccdaq.github.io/daqhats/_static/esmcc128.pdf

https://mccdaq.github.io/daqhats/_static/esmcc172.pdf

 

 

  • 0
Posted

The short answer is that we were told it was possible. However, we are working through the details. Matlab does have the ability to remotely connect to a raspberry pi either via wired or wifi. From there it is supposed to be possible to execute python and C++ scripts on the pi that perform the desired data acquisition tasks. Not sure if you found an answer yet or not. If you did, I'd be interested in knowing how you handled it. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...