-
- Downloads
Acquisition automatically stops if data source is lost
Changes to the DataThread, SourceNode, and UIComponent classes allow data threads to disable callbacks if they are no longer receiving input. So far this has only been tested with the Intan Board, but it works really well. Unplugging the board in the middle of acquisition allows the thread to exit, and callbacks to be disabled, without any seg faults.
Showing
- Builds/Linux/build/windowState.xml 1 addition, 1 deletionBuilds/Linux/build/windowState.xml
- Source/Processors/DataThreads/DataThread.cpp 14 additions, 2 deletionsSource/Processors/DataThreads/DataThread.cpp
- Source/Processors/DataThreads/DataThread.h 5 additions, 1 deletionSource/Processors/DataThreads/DataThread.h
- Source/Processors/DataThreads/FPGAThread.cpp 1 addition, 1 deletionSource/Processors/DataThreads/FPGAThread.cpp
- Source/Processors/DataThreads/FPGAThread.h 4 additions, 1 deletionSource/Processors/DataThreads/FPGAThread.h
- Source/Processors/DataThreads/FileReaderThread.cpp 1 addition, 1 deletionSource/Processors/DataThreads/FileReaderThread.cpp
- Source/Processors/DataThreads/FileReaderThread.h 4 additions, 1 deletionSource/Processors/DataThreads/FileReaderThread.h
- Source/Processors/DataThreads/IntanThread.cpp 23 additions, 6 deletionsSource/Processors/DataThreads/IntanThread.cpp
- Source/Processors/DataThreads/IntanThread.h 3 additions, 1 deletionSource/Processors/DataThreads/IntanThread.h
- Source/Processors/DataThreads/NetworkThread.cpp 1 addition, 1 deletionSource/Processors/DataThreads/NetworkThread.cpp
- Source/Processors/DataThreads/NetworkThread.h 1 addition, 1 deletionSource/Processors/DataThreads/NetworkThread.h
- Source/Processors/ProcessorGraph.cpp 1 addition, 0 deletionsSource/Processors/ProcessorGraph.cpp
- Source/Processors/SourceNode.cpp 12 additions, 3 deletionsSource/Processors/SourceNode.cpp
- Source/Processors/SourceNode.h 3 additions, 0 deletionsSource/Processors/SourceNode.h
- Source/UI/ControlPanel.cpp 18 additions, 0 deletionsSource/UI/ControlPanel.cpp
- Source/UI/ControlPanel.h 2 additions, 0 deletionsSource/UI/ControlPanel.h
- Source/UI/UIComponent.cpp 7 additions, 0 deletionsSource/UI/UIComponent.cpp
- Source/UI/UIComponent.h 2 additions, 1 deletionSource/UI/UIComponent.h
Please register or sign in to comment