필터 지우기
필터 지우기

MCC DaqHat and Raspberry Pi Guidance

조회 수: 25 (최근 30일)
Paul Elliott
Paul Elliott 2024년 7월 2일 12:54
댓글: Paul Elliott 대략 1시간 전
We are in the process of building a data acquisitoin system using a remote Raspberry Pi, and 2 Daqhats from MCC-DAQ. I am wondering if anyone else has tried this configuration and if so is there any guidance that they would recommend?
-Matlab says that they don't support these modules. I was pretty sure when we purchased it they acted like they did. I have been unable to find any reference to this within Mathlab or the Forums.
-MCC-DAQ acted like it was fairly straightforward. However, since starting this they have made it very difficult to communicate with them. I have not really found any material there either yet.
I apologize for this being a vague post but I don't have many details to share yet.
Sincerely, Paul

채택된 답변

Umar
Umar 2024년 7월 2일 21:18
편집: Walter Roberson 2024년 7월 18일 22:08
Hi Paul,
I am wondering if anyone else has tried this configuration and if so is there any guidance that they would recommend? -Matlab says that they don't support these modules. I was pretty sure when we purchased it they acted like they did. I have been unable to find any reference to this within Mathlab or the Forums. -MCC-DAQ acted like it was fairly straightforward. However, since starting this they have made it very difficult to communicate with them. I have not really found any material there either yet.
To answer your questions, please see my comments below.
There are alternative ways to interface with these devices using Matlab. One approach is to utilize the MCC-DAQ provided APIs or SDKs to communicate with the Daqhats directly from Matlab. By leveraging these APIs, you can access the functionalities of the Daqhats within your Matlab environment, enabling seamless integration with your data acquisition system.
Here is a simplified example of how you can interact with the Daqhats in Matlab using the MCC-DAQ API:
% Load the MCC-DAQ library
loadlibrary('mccdaq', 'mccdaq.h');
% Initialize the Daq device
boardNum = 0; % Specify the board number
errorCode = calllib('mccdaq', 'mccOpen', boardNum);
if errorCode == 0 disp('Daq device opened successfully'); % Perform data acquisition operations here else disp('Failed to open Daq device'); end
% Unload the library
unloadlibrary('mccdaq');
If you are experiencing difficulties in communicating with MCC-DAQ directly, exploring their documentation, knowledge base, or contacting their technical support team might provide valuable insights and solutions.
While the initial hurdles you are encountering may seem daunting, there are avenues to explore and resources to leverage in order to successfully build your data acquisition system with Raspberry Pi and Daqhats. By combining technical knowledge, community support, and perseverance, you can overcome these challenges and create a robust and efficient data acquisition setup tailored to your needs.
  댓글 수: 4
Walter Roberson
Walter Roberson 2024년 7월 18일 22:11
Raspberry Pi applications seem to be a distant 2nd or 3rd thought with Matlab.
Would you prefer that Mathworks prioritize Raspberry Pi applications over basic accuracy and speed of MATLAB itself?
Paul Elliott
Paul Elliott 대략 1시간 전
@Walter Roberson - I understand your point. However, We explained repeatedly what we wanted to do and how we wanted to do it. No this was never something we could explore and finalize within a trial period while hitting all of our other timeline commitments. We asked repeatedly if this was within its capability and were told yes it was in a manner that acted like it was relatively simple and or common. From where I sit right now, I'd say the correct simple answer may have been somethign like, "Yes you can probably do that, but maybe there are better options out there." Yes we looked into other options. Yes I like the speed and accuracy you mentioned. Yes Ilike the programming language. However,

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by