EasyManuals Logo

Keysight Technologies X Series Programming Guide

Keysight Technologies X Series
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 #267 background imageLoading...
Page #267 background image
Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 267
Creating and Downloading Waveform Files
Programming Examples
Importing and Downloading I/Q Data—Big Endian Order
On the documentation CD, this programming example’s name is
impDwnLd_c++.txt.”
This C++ programming example (compiled using Metrowerks CodeWarrier 3.0)
assumes that the data is in big endian order and performs the following
functions:
—error checking
binary file importing from the PC or workstation.
binary file download to the signal generator.
// Description: Send a file in blocks of data to a signal generator
//
#include <sicl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
// ATTENTION:
// - Configure these three lines appropriately for your instrument
// and use before compiling and running
//
char* instOpenString = "gpib7,19"; //for LAN replace with
“lan[<hostname or IP address>]”
const char* localSrcFile = "D:\\home\\TEST_WAVE"; //enter file
location on PC/workstation
const char* instDestFile = "/USER/BBG1/WAVEFORM/TEST_WAVE"; //for
non-volatile memory
//remove BBG1 from file path
// Size of the copy buffer
const int BUFFER_SIZE = 100*1024;
int
main()
{
INST id=iopen(instOpenString);
if (!id)

Table of Contents

Other manuals for Keysight Technologies X Series

Questions and Answers:

Question and Answer IconNeed help?

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

Keysight Technologies X Series Specifications

General IconGeneral
BrandKeysight Technologies
ModelX Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals