Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 290

Table of Contents

Advertisement

int OutputHistogramData(FILE* inputFile,
{
int
success = 0;
int* histogramData = ReadHistogramWaveform(inputFile, waveformHeader);
if (histogramData)
{
// Output Time and Count Data
int i;
for (i = 0; i < waveformHeader->Points; ++i)
{
double time = ComputeTimeFromIndex(i, waveformHeader);
fprintf(outputFile, "%e, %i\n", time, histogramData[i]);
}
success = 1;
// Client is responible for cleanup
free(histogramData);
}
return success;
}
Disk Commands
BIN Header Format
const tPBWaveformHeader* waveformHeader,
FILE* outputFile)
13-36

Advertisement

Table of Contents
loading

Table of Contents