- Apr 07, 2013
-
-
jsiegle authored
-
- Apr 05, 2013
-
-
jsiegle authored
To run this in the future, install astyle (sudo apt-get install astyle), then enter the following from the top-level project directory: astyle --options=astyle.options --recursive "./Source/*.cpp" "./Source/*.h" This will convert tabs to 4 spaces and ensure that brackets are on their own lines.
-
- Mar 21, 2013
-
-
jsiegle authored
Use the following command to update the copyright year in all files, starting in the Source/ directory: find . -type f -print0 | xargs -0 sed -i 's/Copyright (C) 2012/Copyright (C) 2013/g' Works like a charm!
-
- Feb 11, 2013
-
-
Marti Bolivar authored
We still hardcode paths, but this is better. - Initialize lengthOfInputFile and bufferSize to 0 in case input isn't found. - Pull call to fopen out of ifdefs, so a future patch can just rip out the hardcoded path parts. - If input _is_ found, then don't leak the file descriptor when the FileReaderThread gets deleted. - If input isn't found, emit a sensible error message and bail in the constructor when the file isn't found. Have subsequent calls that try to use the FileReaderThread fail instead of crash. Signed-off-by:
Marti Bolivar <mbolivar@leaflabs.com>
-
Marti Bolivar authored
Signed-off-by:
Marti Bolivar <mbolivar@leaflabs.com>
-
- Jan 17, 2013
-
-
jsiegle authored
-
- Jan 14, 2013
-
-
Josh Siegle authored
-
- Nov 12, 2012
-
-
jsiegle authored
-
- Nov 10, 2012
-
-
jsiegle authored
-
- Oct 06, 2012
-
-
Josh Siegle authored
-
- Jul 07, 2012
-
-
Josh Siegle authored
-
- Jun 16, 2012
-
-
jsiegle authored
The IntanThread can report TTL events on its 6 input channels. This was tested with an Arduino; input detection is fast and reliable. The IntanThread also generates its own timestamps, allowing the software to move toward a framework in which timestamps come from input sources, rather than from the RecordNode. Finally, an ArduinoOutput module was added, which allows the software to communicate with an Arduino via serial output.
-
- May 21, 2012
-
-
jsiegle authored
-
- May 16, 2012
-
-
jsiegle authored
-
- May 15, 2012
-
-
jsiegle authored
-
- May 14, 2012
-
-
jsiegle authored
-
- May 13, 2012
-
-
jsiegle authored
-
- May 12, 2012
-
-
jsiegle authored
-
- Apr 21, 2012
-
-
jsiegle authored
-
- Apr 19, 2012
-
-
jsiegle authored
-
- Apr 02, 2012
-
-
jsiegle authored
-
- Mar 12, 2012
-
-
jsiegle authored
-
- Feb 19, 2012
-
-
jsiegle authored
-
- Feb 13, 2012
-
-
jsiegle authored
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.
-
- Feb 11, 2012
-
-
jsiegle authored
DataThreads (e.g. IntanThread, FileReaderThread, FPGAThread) are now created at the same time as the source node, rather than at the start of data acquisition. New methods for starting/stopping individual threads are required, although only the appropriate methods for the IntanThread have been written. Another important change is that the SourceNode now periodically checks for an appropriate input source every few seconds while acquisition is not in progress. It's the responsibility of the individual DataThreads to notify the SourceNode if their input has disappears. In the case of the IntanThread, this involves attempting to change the baud rate. If an error code returns, it informs the SourceNode that the input is missing. This, in turn, informs the FilterViewport that the source is no longer enabled, thus deactivating that particular signal chain.
-
Josh Siegle authored
-