Jump to content
  • 0

A Question About PCIe-DIO96H Board


Amirhossein

Question

Hello,

I would like to know if "PCIe-DIO96H" is supported by MATLAB via "Data Acquisition" toolbox in MATLAB or not? I have made all required hardware connections for this board, and it is recognized by my computer, but when I run daqlist("mcc") in MATLAB, I am faced with "Not Recognized" and "Device currently not supported" in the description part. It should be noted that I have also downloaded and installed MCC support package in MATLAB and have configured the board with InstaCal with "Set All Up" in this software as well.    

Would you please let me know if there is a way I can make this board recognizable for MATLAB so I can communicate with it via data acquisition toolbox?  

Thanks,

Amirhossein

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello @Amirhossein.

MATLAB's Data Acquisition Toolbox™ Support Package for Measurement Computing™ Hardware was developed by MathWorks.  A list of tested MCC hardware devices is at this link.  https://www.mathworks.com/hardware-support/measurement-computing.html

The support package does not support digital I/O subsystems, so the PCIe-DIO96H board is not supported by the package.  

Another option is to use the MCC Universal Library .NET library in MATLAB.

Attached is an example demonstrating the implementation of the MCC Universal Library .NET reference (MCCDAQ.DLL) in MATLAB 64-bit.

This simple example demonstrates how to acquire data and can be used with other MCC data acquisition hardware, with minimal or no modifications.  The example will not work with your PCIe board, but it should give you an idea on how to proceed with your program. 

Hardware used:
    USB-1608FS-Plus
Operating System:
    Windows 10 64-bit
Software:
    MATLAB R2018b
    MCC InstaCal 6.70

Regards,

Fausto

USB_1608FS_ML2018b.m

Link to comment
Share on other sites

  • 0

Hello @Fausto,

Thank you for your response. I am running the attached code in your previous message step by step to figure out how I should modify the code so that it can work for PCIe-DIO96H board. It seems that no "inventory" in line 24 is created, so when MATLAB compiler runs line 27 in the code, I am faced with this error:

(Error using USB_1608FS_ML2018b
Message: Index was outside the bounds of the array.
Source:
HelpLink: None)

 

Would you please help me with resolving this issue? I am running the code with MATLAB R2022b and all the supporting software under "MCC DAQ Software" category on "https://www.mccdaq.com/Software-Downloads.aspx" are installed. Additionally, the board is detected and configured by InstaCal 6.73.

 

Kind regards,

Amirhossein 

 

:: 

Link to comment
Share on other sites

  • 0

Hello @Fausto,

I just wanted to follow up on my previous question regarding the error I faced in MATLAB when I was running the code you sent. I would like to know if there could be found any solutions to this problem or it might be better to work on other options such as Labview software to communicate with PCIe-DIO96H.

 

It should be noted that I need to communicate with PCIe-DIO96H in order to turn on and off 96 relays which are connected to pumps to get each pump running for a specific period of time

 

Kind regards,

Amirhossein

Link to comment
Share on other sites

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...