Siglent SDS2352X-E oscilloscope

DSO programming guide - Page 238

For SDS2352X-E.

PDF File Manual, 256 pages, Read Online | Download pdf file

SDS2352X-E photo
Loading ...
Loading ...
Loading ...
Digital Oscilloscope Series
238
function TCP_IP_test( IPstr )
% This code demonstrates sending synchronous read & write commands
% to an TCP/IP instrument using NI-VISA
%Create a VISA-TCPIP object connected to an instrument
%configured with IP address.
vt = visa('ni',['TCPIP0::',IPstr,'::INSTR']);
%Open the VISA object created
fopen(vt);
%Send the string "*IDN?",asking for the device's identification.
fprintf(vt,'*IDN?');
%Request the data
outputbuffer = fscanf(vt);
disp(outputbuffer);
%Close the VISA object
fclose(vt);
delete(vt);
clear vt;
end
Loading ...
Loading ...
Loading ...