Skip to content

Commit

Permalink
use fixed points per chunk when reading from vna
Browse files Browse the repository at this point in the history
  • Loading branch information
nanovna committed Feb 11, 2020
1 parent 7a6f973 commit 1ab5c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libxavna/xavna_cpp.C
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ namespace xaxaxa {
uint32_t last_measurementCnt = _measurementCnt;
int lastFreqIndex = -1;
int measurementEndPoint = -1;
int chunkPoints = 8;
int chunkPoints = 16;
int nValues = this->nValues;
int collectDataState = 0;
int cnt = 0;
Expand All @@ -222,7 +222,7 @@ namespace xaxaxa {
xavna_set_autosweep(_dev, startFreqHz, stepFreqHz, nPoints, nValues);
while(!_shouldExit) {
fflush(stdout);
int chunkValues = chunkPoints * nValues;
int chunkValues = chunkPoints;
autoSweepDataPoint values[chunkValues];

// read a chunk of values
Expand Down

0 comments on commit 1ab5c49

Please sign in to comment.