Skip to content
Snippets Groups Projects
Commit 9ac1f8b8 authored by jsiegle's avatar jsiegle
Browse files

Calibrate ADC channels

parent 4838ef58
Branches
Tags
No related merge requests found
No preview for this file type
......@@ -1513,7 +1513,7 @@ bool RHD2000Thread::updateBuffer()
// ADC waveform units = volts
thisSample[channel] =
//0.000050354 * float(dataBlock->boardAdcData[adcChan][samp]);
0.00015258789 * float(dataBlock->boardAdcData[adcChan][samp]) - 5 - 0.42; // account for +/-5V input range and 0.42 V offset
0.00015258789 * float(dataBlock->boardAdcData[adcChan][samp]) - 5; // account for +/-5V input range
}
}
// std::cout << channel << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment