Capture screen image Tektronix 2024B

版本 1.0.0.0 (1.7 KB) 作者: Roman Skrada
Function will get data of channels that are ON and plots them.
449.0 次下载
更新时间 2012/8/2

查看许可证

I run this initially once to create the instrument in the instrument control toolbox:
______________________________________

global tds2024
% Initiate TEKTRONIX_TDS2024B
% It can be written to afterwards
% Needs NI-VISA or TEK-VISA installed on the system to connect via USB

% Create a VISA-USB object.
interfaceObj = instrfind('Type', 'visa-usb', 'RsrcName', 'USB0::0x0699::0x036A::C031507::0::INSTR', 'Tag', '');

% Create the VISA-USB object if it does not exist
% otherwise use the object that was found.
if isempty(interfaceObj)
interfaceObj = visa('NI', 'USB0::0x0699::0x036A::C031507::0::INSTR');
else
fclose(interfaceObj);
interfaceObj = interfaceObj(1);
end

% Create a device object.
global tds2024 % must make this global variable on top level

tds2024 = icdevice('tektronix_tds2024.mdd', interfaceObj);

% Connect device object to hardware.
connect(tds2024);
______________________________________

Then just call the function to get screen image:

get_scope_screen;

引用格式

Roman Skrada (2024). Capture screen image Tektronix 2024B (https://www.mathworks.com/matlabcentral/fileexchange/37714-capture-screen-image-tektronix-2024b), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0