MATLAB INSTRUMENT CONTROL TOOLBOX - RELEASE NOTES Instrukcja Użytkownika Strona 12

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 30
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 11
Using the Instrument Control Toolbox
1MA171_5e Rohde & Schwarz How to use Rohde & Schwarz Instruments in MATLAB
®
12
Figure 9: Disconnecting the session after remotely setting up the instrument.
Every method previously executed in the Functions tab is written in a log window
(Session Log tab). The resulting session log is intended to be utilized as a template for
starting with the VXIplug&play instrument drivers in your MATLAB
®
application.
2.6 Application Example for the 32-bit rssmu Instrument
Driver
%% Rohde & Schwarz GmbH & Co. KG
% MATLAB Instrument Control Toolbox example for Vector Signal Generator
% R&S SMU200A or R&S SMBV100A (etc) instrument driver (rssmu)
%
% Purpose: Test of Instrument Control Toolbox for rssmu VXIplug&play instrument
% driver
% The example configures 3GPP on a Vector Signal Generator
% Author: Juergen Engelbrecht, customersupport@rohde-schwarz.com
%% cleanup possible open connections
instrreset;
try
%% open driver session
% create a device object.
deviceObj = icdevice('rssmu.mdd',
'TCPIP::rssmu200a100803::instr0::INSTR');
% connect device object to hardware.
connect(deviceObj)
% reset instrument
devicereset(deviceObj);
catch ME
%% cleanup driver session
% delete object
delete(deviceObj);
error('Connection to instrument failed')
end
Przeglądanie stron 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 29 30

Komentarze do niniejszej Instrukcji

Brak uwag