Fixed issue with channel depth in 2048 bin mode
This commit is contained in:
1 parent
7a630c5f70
commit
45c5755882
1 file changed
+2
-2
@@ -1122,8 +1122,8 @@ double Osci::GetMinSamplingSpeed()
|
||||
|
||||
int Osci::GetWaveformDepth(int channel)
|
||||
{
|
||||
if (channel == 3 && m_clkOn && m_waveDepth > kNumberOfBins)
|
||||
return m_waveDepth - kNumberOfBins; // clock chnnael has only 1024 bins
|
||||
if (channel == 4 && m_clkOn && m_waveDepth > kNumberOfBins)
|
||||
return m_waveDepth - kNumberOfBins; // clock channel has only 1024 bins
|
||||
|
||||
return m_waveDepth;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user