Why do I get the error "Unable to create VISA object. The required drivers may not be installed properly." when using the Instrument Control Toolbox 2.8 (R2009a)?

77 views (last 30 days)
I am trying to connect to a National Instruments GPIB device using VISA as follows:
gpibObj = visa('ni','gpib::20::INSTR');
When I do so, I get the following error message:
??? Error using ==> visa.visa at 241
Unable to create VISA object. The required drivers may not be installed properly.
Type 'instrhelp visa' for more information.
I am using the following NI driver:
NI-488.2 2.7 - Real-Time OS, Windows 2000/Vista x64/Vista x86/XP

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Sep 2012
In order to be able to access your GPIB device using VISA you need to use a supported driver, which in this case would be:
National Instruments NI-VISA version 3.0 (or higher)
Reference:
Instrument Control Toolbox - Supported Hardware - VISA
<http://www.mathworks.com/products/instrument/supportedio13784.html>
For more information on VISA see:
VISA Overview
<http://www.mathworks.com/help/instrument/visa-overview.html>
If for some reason you cannot upgrade your VISA driver, then you can also access your GPIB device directly from MATLAB as it possesses this capability. For more information see:
Controlling Instruments Using GPIB
<http://www.mathworks.com/access/helpdesk/help/toolbox/instrument/f13-5310.html>

More Answers (0)

Categories

Find more on Instrument Connection and Communication in Help Center and File Exchange

Tags

Products


Release

R2009a

Community Treasure Hunt

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

Start Hunting!