Hi,
OK, now I see what's going on. OK, you'll need to do a similar fix, but for the PCI-4454. Thanks for quoting me back to myself!
I don't have a PCI-4454, so I'd greatly appreciate feedback on whether this
resolves the problem.
1. Quit MATLAB
2. Locate the file <matlab>\toolbox\daq\daq\private\mwnidaq.ini where
<matlab> is the
directory you installed MATLAB to.
3. Back up this file
4. Open the file with a text editor, and search for "[board321]" (no
quotes)
5. This block of text is the configuration information for the PCI 4454.
Look for the line
"DIInputIDs=" (no quotes) and change it to "DIInputIDs=0,1,2,3" (no
quotes)
6. Save this and restart MATLAB
Repeat the earlier test:
ai = analoginput('nidaq',1); % modify this to match your hardware
daqhwinfo(ai)
The property "DifferentialIDs", should now read [0 1 2 3] -- You should now
have 4 channels, and your code should work.
-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com