MATALB VISA Object Driver Error
19 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am using 2 Tektronix device. Model Number: MDO3024 and 4055B. I am using MATLAB VISA script to run the Oscilloscope and Function Gnerator and OpenChoice Instrument Manager. While running the VISA object, Matlab creates an error stating "Unable to create VISA object. The required drivers may not be installed properly." The code I am using,
%% ------Create Instrument Objects-------------------------------------- %%
%%% Provide resource name for instruments
visaAddress_OS = 'USB::0x0699::0x0408::B022350::INSTR';
visaAddress_FG = 'USB::0xF4EC::0xEE38::516L21106::INSTR';
%%% Create a VISA objects for oscilloscope and function generator
myOscope = visa('tek',visaAddress_OS);
myFgen = serialport('tek',visaAddress_FG);
I have uninstalled and installed the drivers and MATLAB several times. But nothing seems to work. Can anyone help me through that?
2 件のコメント
Scott
2022 年 6 月 22 日
did you properly install the VISA drivers? I'm assuming you're using TEKVISA which I'm not familiar with, but I would try using the "Test and Measurement Tool" (run tmtool from matlab command line) and figure out if matlab sees the device on it's own. If not, I would guess your VISA drivers aren't properly installed. I personally have used National Instruments, Rohde & Schwarz, and Keysight VISA drivers with success.
The NI drivers are nice since they ship with NI IO Trace which allows you to spy on all commands to/from any VISA device.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Instrument Control Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!