Skip to content

Commit

Permalink
shareBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Aug 16, 2024
1 parent 1a80554 commit 83dcddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/minos/mclient/evbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ int EventBuilder_ProcessBuffer(EventBuilder* eb, void* bu) {
cout << "Event ID: " << storageManager.event.id << endl;
cout << "Event timestamp: " << storageManager.event.timestamp << endl;

/*
// AFAIK the first number is the signal id and the rest is the signal data
std::array<unsigned short, 512> waveform;
for (int i = 0; i < ShMem_DaqInfo->nSignals; ++i) {
Expand All @@ -475,7 +476,7 @@ int EventBuilder_ProcessBuffer(EventBuilder* eb, void* bu) {
// Avoid drawing too often
graphManager.DrawEvent(storageManager.event);
}

*/
SemaphoreGreen(SemaphoreId);
}

Expand Down

0 comments on commit 83dcddf

Please sign in to comment.