02:14
Degi has quit [Ping timeout: 265 seconds]
02:16
Degi has joined #scopehal
05:34
d1b2 has quit [Remote host closed the connection]
05:35
d1b2 has joined #scopehal
14:54
miek has quit [Ping timeout: 245 seconds]
15:20
miek has joined #scopehal
16:50
bvernoux has joined #scopehal
17:17
nohit has quit [Ping timeout: 248 seconds]
17:17
elms has quit [Ping timeout: 248 seconds]
17:19
elms has joined #scopehal
17:20
nohit has joined #scopehal
19:31
<
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();
19:31
<
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();
19:31
Bird|ghosted has joined #scopehal
19:31
Bird|otherbox has quit [Read error: Connection reset by peer]
19:32
<
d1b2 >
<rapzak_> datasets[j].meas_current[2]; will have a float value of the sample
20:10
<
d1b2 >
<azonenberg> 10 femtoseconds per sample sounds awfully short sampling interval
20:37
<
d1b2 >
<rapzak_> yearh... i will increase - you think that is why it make segments error
20:38
<
d1b2 >
<rapzak_> hust trying to get "hole-through" 🙂
20:40
<
d1b2 >
<rapzak_> have had a fight for some time with this
21:19
<
d1b2 >
<rapzak_> s[0] = cap; << is wrong have to pick the channel from function : s[GetOscilloscopeChannel(0)] = cap;
21:34
bvernoux has quit [Quit: Leaving]