azonenberg changed the topic of #scopehal to: ngscopeclient, libscopehal, and libscopeprotocols development and testing | https://github.com/ngscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #scopehal
d1b2 has quit [Remote host closed the connection]
d1b2 has joined #scopehal
<_whitenotifier-4> [scopehal-apps] azonenberg opened issue #818: Regression: sample rate and memory depth dropdowns in sidebar have no current value displayed - https://github.com/ngscopeclient/scopehal-apps/issues/818
<_whitenotifier-4> [scopehal-apps] azonenberg edited issue #818: Regression: sample rate and memory depth dropdowns in sidebar have no current value displayed - https://github.com/ngscopeclient/scopehal-apps/issues/818
miek has quit [Ping timeout: 245 seconds]
miek has joined #scopehal
bvernoux has joined #scopehal
nohit has quit [Ping timeout: 248 seconds]
elms has quit [Ping timeout: 248 seconds]
elms has joined #scopehal
nohit has joined #scopehal
<d1b2> <rapzak_> Anyone can see what is wrong with this code in acquire function: double t = GetTime(); int64_t fs = (t - floor(t)) * FS_PER_SECOND; //Create our waveform auto cap = new UniformAnalogWaveform; cap->m_timescale = 10;//fs_per_sample; cap->m_triggerPhase = 1;//trigphase; cap->m_startTimestamp = time(NULL); cap->m_startFemtoseconds = fs; cap->Resize(datasets.size()); cap->PrepareForCpuAccess();
<d1b2> for(size_t j=0; j<datasets.size(); j++) { cap->m_samples[j] = datasets[j].meas_current[2]; } cap->MarkSamplesModifiedFromCpu(); SequenceSet s; s[/GetOscilloscopeChannel(chnum)/0] = cap; //Save the waveforms to our queue m_pendingWaveformsMutex.lock(); m_pendingWaveforms.push_back(s); m_pendingWaveformsMutex.unlock();
Bird|ghosted has joined #scopehal
Bird|otherbox has quit [Read error: Connection reset by peer]
<d1b2> <rapzak_> datasets[j].meas_current[2]; will have a float value of the sample
<d1b2> <azonenberg> 10 femtoseconds per sample sounds awfully short sampling interval
<d1b2> <rapzak_> yearh... i will increase - you think that is why it make segments error
<d1b2> <rapzak_> hust trying to get "hole-through" 🙂
<d1b2> <rapzak_> have had a fight for some time with this
<d1b2> <rapzak_> s[0] = cap; << is wrong have to pick the channel from function : s[GetOscilloscopeChannel(0)] = cap;
bvernoux has quit [Quit: Leaving]