matde Posted August 28 Share Posted August 28 Is it possible to directly acquire data with MCC 128 / 172 and Raspberry Pi 4 in Matlab/Simulink? Link to comment Share on other sites More sharing options...
0 JRys Posted August 28 Share Posted August 28 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. Link to comment Share on other sites More sharing options...
0 matde Posted August 28 Author Share Posted August 28 Matlab allows the use of Python code/functions - Could this be a work around? Link to comment Share on other sites More sharing options...
0 JRys Posted August 28 Share Posted August 28 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. Link to comment Share on other sites More sharing options...
0 matde Posted August 30 Author Share Posted August 30 And it's not possible to read the signals directly from the Raspberry GPIO Pins? Which GPIO Pins are used by MCC 128 / 172? Link to comment Share on other sites More sharing options...
0 JRys Posted August 30 Share Posted August 30 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 Link to comment Share on other sites More sharing options...
Question
matde
Is it possible to directly acquire data with MCC 128 / 172 and Raspberry Pi 4 in Matlab/Simulink?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now