File Exchange

image thumbnail

Capture screen image Tektronix 2024B

version 1.0 (1.68 KB) by

Function will get data of channels that are ON and plots them.

1 Download


View License

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');
interfaceObj = interfaceObj(1);

% 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.

Then just call the function to get screen image:


Comments and Ratings (1)

si kong

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video