Tektronix oscilloscope does not appear on instrument tool box

3 views (last 30 days)
HI,
I have connection issue.
I installed TekVisa4.X and I can see instrument manager can corretly recognize oscilloscope
But on tmtool, scan for instrument hardware does not show any connection.
Can anyone can advise for possible root cause?
Thanks.

Answers (1)

Manas Meena
Manas Meena on 9 Feb 2021
If you get an object back at the command line, you're good to go! You can call fopen on it.
If you want to work in TMTOOL, right click on the node and choose scan. you should see the instrument appear. Click on it, and choose connect.
If you want to do the same thing at the commend line, call instrhwinfo('visa','ni') -- it should return a list of instruments.
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.

Community Treasure Hunt

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

Start Hunting!