MATLAB Answers

0

MCC DAQ driver warning

The following error shows up when I type
aout1 = analogoutput('mcc',1)
and hit enter.
Warning: Warning: Measurement Computing InstaCal version 5.85 or later is required, version 5.24 was detected. Some analog output signals will be incorrect
with this device. We strongly recommend an update to InstaCal version 5.85 or later.
The strange part is that I actually have InstaCal 6.24 installed on my computer. I don't know if this is relevant but I have two MCC DAQ boards on the PCI buses. Also, board 0 has 8 analog output channels and board 1 has 4. However, when I try to add channels after the warning is issued, I can only add 3 for either of the boards. Please HELP!

  2 Comments

Walter Roberson
on 15 Aug 2012
Which MATLAB version?
Md. Ashfaque on 16 Aug 2012
Version 7.13.0.564 (R2011b)

Sign in to comment.

3 Answers

Walter Roberson
Answer by Walter Roberson
on 15 Aug 2012
 Accepted Answer

What happens when you try to add beyond channel 3?
This sounds perhaps similar (but perhaps not identical) to bug #817317 over here in R2012a

  0 Comments

Sign in to comment.


Answer by Md. Ashfaque on 16 Aug 2012

This is the command and the result from Matlab that i get
>> outch = addchannel(aout1, 4)
Error using daqdevice/addchannel (line 198) Unable to set HwChannel above maximum value of 3.

  0 Comments

Sign in to comment.


Answer by Md. Ashfaque on 16 Aug 2012

I know what I was doing wrong. I tried adding channels with a vector of 1:4 but for hardware...channels are numbered from 0 through 3. That is why I was not allowed to add channel 4 (which should really be numbered as 3).
Thanks everyone for your help.

  2 Comments

Walter Roberson
on 16 Aug 2012
Hmmm -- this does not seem to explain why you were not able to add beyond 3 for the board with 8 channels ?
Md. Ashfaque on 16 Aug 2012
No, for whatever reasons I am not being able to add more than 4 channels for the board that has 8 channels.
I wonder if it has something to do with the fact that the driver Matlab is detecting is an old one. I still did not find a solution to that problem. Any ideas?

Sign in to comment.