EasyManuals Logo

Keysight Technologies N5172B EXG Programming Guide

Keysight Technologies N5172B 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 #271 background imageLoading...
Page #271 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 271
Creating and Downloading Waveform Files
Programming Examples
// in the code below with the IP address of your signal generator.
(or you can use the
// instrument's hostname). Replace the localSrcFile and instDestFile
directory paths
// as needed.
//*****************************************************************
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "visa.h"
//
// IMPORTANT:
// Configure the following three lines correctly before compiling
and running
char* instOpenString ="TCPIP0::xxx.xxx.xxx.xxx::INSTR"; // your
instrument's IP address
const char* localSrcFile = "\\Files\\IQ_DataC";
const char* instDestFile = "/USER/WAVEFORM/IQ_DataC";
const int BUFFER_SIZE = 100*1024;// Size of the copy buffer
int main(int argc, char* argv[])
{
ViSession defaultRM, vi;
ViStatus status = 0;
status = viOpenDefaultRM(&defaultRM);// Open the default
resource manager
// TO DO: Error handling here

Table of Contents

Other manuals for Keysight Technologies N5172B EXG

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies N5172B EXG Specifications

General IconGeneral
BrandKeysight Technologies
ModelN5172B EXG
CategoryPortable Generator
LanguageEnglish

Related product manuals