フィルターのクリア

MCC DaqHat and Raspberry Pi Guidance

25 ビュー (過去 30 日間)
Paul Elliott
Paul Elliott 2024 年 7 月 2 日 12:54
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 Center および File ExchangeRaspberry Pi Hardware についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by