Jump to content
  • 0

MCC PCI-DAS on 64-bit Matlab Simulink real-time


Janez

Question

In the past we have successfully used PCI-DAS 1001/2, PCI-DAS 1200 and PCI-QUAD boards with Matlab xPC Target for real-time acquisition for custom robotic applications. The drivers for Measurement Computing boards were supported only until Matlab 2015b, since this was the last version of Matlab that was 32 bit. After that measurement computing boards (at least the ones that we have) are no longer supported. On one of our older industrial PCs have died and the new one does not run 32 bit version of xPC Target. So the next step would be to try to compile 32 bit drivers on a 64 bit version of Matlab.

Has anybody tried to compile drivers for Measurement Computing boards on 64 bit Matlab and used them in Simulink real-time (which is basically just renamed xPC Target)?

Edited by Janez
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Thanks for reply. We have also that board in the link and it works with newer Matlab versions. We do not use it for real-time control but we use it for acquisition.

Maybe somebody from community compiled the drivers for PCI-DAS boards on 64 bit Matlab. The point is that we have a lot of MCC boards that were successfully used and we were very pleased with them. We would like to continue to use them, but with newer versions of Matlab. Although there is no official support, we are still very interested how to use them with 64 bit Matlab.

 

 

Link to comment
Share on other sites

  • 0

@Janez,

Which versions of Windows OS, MCC InstaCal, and MATLAB are you using on the new PC?

Are the MCC PCI-DAS1001/2 and PCI-DAS1200 boards detected in InstaCal, on the new PC?  If either board is not detected by InstaCal, then products with the AMCC PCI interface chips are not supported by the 64-bit drivers or library; see AMCC chip below.  MCC PCI products that have the PLX PCI interface chip should be supported with the 64-bit PCI device driver.  (Note: these PCI boards are obsolete and no longer supported.)

 

image.png

 

Consider discussing a solution using USB devices with our Digilent Sales Team (sales.digilentinc@emerson.com).

Regards,

Fausto

Link to comment
Share on other sites

  • 0

I managed to compile the source c s-functions for PCI-DAS 1001/2 and PCI-QUAD boards into mex64. I just took the source c files from version Matlab 2014a and compiled them on Matlab 2019b using mex command. Reading of registers works for both boards, but I cannot write into registers and change the outputs of PCI-DAS 1001/2 board. I can read both digitial and analog inputs.

I checked two PCI-DAS 1001/2 boards and one PCI-DAS 1200 and both have chips with AMCC markings, while PCI-QUAD card has PLX markings. I also have PCI-DDA08/12 card that has PLX markings, but I did not test it yet.

Must be something with permissions for writing into registers. I guess in version 2014a permissions are not required or are set as a default and in version 2019b this has changed. Just a guess, I do not actually have a good idea where to go next. Any ideas?

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