Why am I unable to connect to my instrument using the connection button in TMTOOL in the Instrument Control Toolbox 2.8 (R2009a)?

4 views (last 30 days)
When I press the connection button in TMTOOL, it does not establish a connection with my instrument. However, I am able to PING my instrument successfully to establish that it is connected properly.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 26 Aug 2009
If you are unable to find the VISA drivers in TMTOOL, please try the following steps:
1. Remove all of your preference directories.
a. At the MATLAB command prompt, type in the following:
a=prefdir % gives the preference directory
winopen(a)% opens the directory in a new window
b. Go up one level in the directory – this shows you all preference folders for each version of MATLAB you have.
c. Delete all of these directories.
2. Disconnect and delete all instrument objects by typing the following at the MATLAB Command line:
instrreset
3. Refresh function and file system path caches by typing the following at the MATLAB Command line:
rehash toolboxcache
4. Shut down MATLAB.
5. Restart MATLAB then try to detect the VISA Drivers as you had previously when trying to create a new interface object in TMTOOL.

More Answers (0)

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Products


Release

R2009a

Community Treasure Hunt

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

Start Hunting!