EasyManuals Logo

Keysight Technologies N5173B EXG Programming Guide

Keysight Technologies N5173B EXG
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #299 background imageLoading...
Page #299 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 299
Creating and Downloading Waveform Files
Programming Examples
Playing Downloaded Waveforms
This is a simple example to play a waveform that was downloaded to the
instrument. This example can be easily modified to send additional SCPI
commands.
This programming example’s name is “PlayWaveform.m.” This example is not
included on the Documentation CD.
This MATLAB programming example performs the following functions:
plays a waveform that has been downloaded
function PlayWaveform( tcpipAddress, name )
% PlayWaveform( tcpipAddress, name );
% Copyright 2009 Keysight Technologies Inc.
%
% Play the waveform in the Signal Generator
%
% INPUT PARAMETERS:
% tcpipAddress - '141.121.148.188' Whatever works for your signal
Generator!
% name - Waveform name - 21 characters max
%
% EXAMPLE:
% name = 'My_Test'; % Waveform name
% tcpipAddress = '141.121.151.129'; % Signal Generator IP
Address
% PlayWaveform( tcpipAddress, name ); % play the waveform
playCmd = [':RAD:ARB:WAV "WFM1:' name '"'];
t = tcpip(tcpipAddress, 5025);
This example works on either a 32bit or 64bit system that is connected
over the LAN. So, the Waveform Download Assistant—which only works on
32bit systems—is not required, to use this program.
Additional documentation is available on this program through Matlab, by
adding your PC’s path to the Matlab’s path and then from the Matlab
command line type: help PlayWaveform.

Table of Contents

Other manuals for Keysight Technologies N5173B EXG

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies N5173B EXG and is the answer not in the manual?

Keysight Technologies N5173B EXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5173B EXG
CategoryPortable Generator
LanguageEnglish

Related product manuals