Why does the Data Acquisition Toolbox 2.5 (R14) not recognize a Advantech PCI-1711L card?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Data Acquisition Toolbox 2.6 (R14SP1). For previous releases, please read below for any possible workarounds:
For releases of the Data Acquisition Toolbox prior to Data Acquisition Toolbox 2.5 (R14), please note that Advantech hardware support is not available. In order to obtain support for Advantech hardware, you must upgrade your version of the Data Acquisition Toolbox.
For Data Acquisition Toolbox 2.5 (R14), this is a bug in the initialization file in the way that hardware information for the Advantech PCI-1711L card has been omitted.
To work around this issue, try the following:
1. Quit MATLAB
2. Find the mwadvantech.ini file. It should be in $MATLAB\toolbox\daq\daq\private, where $MATLAB is the location you installed MATLAB to.
3. Back up the mwadvantech.ini file
4. Open the mwadvantech.ini file in a text editor, and find the section that starts "[PCI-1711]". It should be around line 114.
5. Insert the following BETWEEN the [PCI-1711] and [PCI-1712] sections:
[PCI-1711L]
AIFifo=1024
AIMaxSR=100e3
AIMinSR=1
AIDiffMult=1
AIInterruptMode=3
AIHwTrigger=0
DIOConfigWidth=0
DIOInputWidth=16
DIOOutputWidth=16
DIOPorts=4
SWInputType=1
6. Save the INI file and close the text editor.
7. Restart MATLAB.
It should now work.

More Answers (0)

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!