MATLAB: Do I have problems starting the Advantech PCI-1711/PCI-1712 using the Data Acquisition Toolbox 2.5 (R14)

.datadvantechdaqData Acquisition Toolbox

When I try the following code:
ai = analoginput('advantech',0);
addchannel(ai,0:15);
start(ai);
waittilstop(ai,100);
data = getdata(ai);
start(ai);
I get the error:
===> Get message " DIO port configuration failed."

Best Answer

This is not a bug in MATLAB but it appears to be an issue with the Advantech drivers. To workaround this issue, use version 2.2 (or later) of the Advantech drivers.