Why am unable to use my hardware with Data Acquisition Toolbox?

18 views (last 30 days)
I am not able to use NI PCI 6251 with Data Acquisition Toolbox 2.9 (R2006b). I am able to use the board with Measurement & Automation Explorer and Labview.
When I run the DAQHWINFO command, the InstalledAdaptors field is empty:
daqhwinfo
ans =
ToolboxName: 'Data Acquisition Toolbox'
ToolboxVersion: '2.9 (R2006b)'
MATLABVersion: '7.3 (R2006b)'
InstalledAdaptors: {}
Then, when I run the DAQREGISTER command, I receive the following error message:
daqregister('nidaq')
ans =
Register function failed.
I receive the following error when I run DAQSUPPORT:
daqsupport
??? Index exceeds matrix dimensions.
Error in ==> daqsupport at 52
if ~isempty(strfind(adaptors{1},nidaqmxAdaptorName))
I receive the following message when I try to make use of the ANALOGINPUT command:
AI = analoginput('nidaq','Dev1');
??? Error using ==> analoginput.analoginput Error using ==> analoginput.analoginput>localCreateAnalogInputObject
Failure to find requested data acquisition device: nidaqmx.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Oct 2011
If you are trying to register your hardware for the first time with the Data Acquisition toolbox, make sure that you log in to your machine as an administrator or as a user with full administrator rights. It requires the user to have full administrative rights in order to initially register the hardware with the Data Acquisition toolbox.
For Windows Vista and Windows 7 you need to log in as an administrator as well as right-click on MATLAB icon and click on "Run as Administrator". This is called running the application in elevated mode.
Then run DAQSUPPORT which should register all of the adaptors that have installed hardware.
You can then log in as a standard Windows user and make use of the installed hardware with the Data Acquisition toolbox.

More Answers (0)

Categories

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

Products


Release

R2006b

Community Treasure Hunt

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

Start Hunting!