EasyManuals Logo

Agilent Technologies E4438C Programming Guide

Agilent Technologies E4438C
366 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 #258 background imageLoading...
Page #258 background image
248 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Creating and Downloading Waveform Files
Programming Examples
{
numRead = fread(buf, sizeof(char), BUFFER_SIZE, file);
viWrite(vi, buf, numRead, 0);
} while (numRead == BUFFER_SIZE);
// Send the terminating newline and EOI
viSetAttribute( vi, VI_ATTR_SEND_END_EN, 1 );
char* newLine = "\n";
viWrite(vi, (unsigned char*)newLine, 1, 0);
delete [] buf;
}
else
{
fprintf(stderr, "Could not allocate memory for copy buffer\n");
}
fclose(file);
viClose(vi);
viClose(defaultRM);
return 0;
}

Table of Contents

Other manuals for Agilent Technologies E4438C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies E4438C and is the answer not in the manual?

Agilent Technologies E4438C Specifications

General IconGeneral
BrandAgilent Technologies
ModelE4438C
CategoryPortable Generator
LanguageEnglish

Related product manuals