Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/open-ephys/GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Siegle committed Oct 29, 2015
2 parents 753f9ac + 3d7cb42 commit e3df200
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
20 changes: 15 additions & 5 deletions Builds/VisualStudio2013/open-ephys.sln
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
Microsoft Visual Studio Solution File, Format Version 11.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
Project("{5A05F353-1D63-394C-DFB0-981BB2309002}") = "open-ephys", "open-ephys.vcxproj", "{9C924D66-7DEC-1AEF-B375-DB8666BFB909}"
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "open-ephys", "open-ephys.vcxproj", "{9C924D66-7DEC-1AEF-B375-DB8666BFB909}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
Debug|x64 = Debug|x64
Debug64|Win32 = Debug64|Win32
Debug64|x64 = Debug64|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
Release64|Win32 = Release64|Win32
Release64|x64 = Release64|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Debug|Win32.ActiveCfg = Debug|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Debug|Win32.Build.0 = Debug|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release|Win32.ActiveCfg = Release|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release|Win32.Build.0 = Release|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Debug|x64.ActiveCfg = Debug|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Debug64|Win32.ActiveCfg = Debug64|x64
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Debug64|x64.ActiveCfg = Debug64|x64
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Debug64|x64.Build.0 = Debug64|x64
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release|Win32.ActiveCfg = Release|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release|Win32.Build.0 = Release|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release|x64.ActiveCfg = Release|Win32
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release64|Win32.ActiveCfg = Release64|x64
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release64|x64.ActiveCfg = Release64|x64
{9C924D66-7DEC-1AEF-B375-DB8666BFB909}.Release64|x64.Build.0 = Release64|x64
EndGlobalSection
Expand Down
4 changes: 3 additions & 1 deletion Source/Processors/DataThreads/RHD2000Thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ bool RHD2000Thread::uploadBitfile(String bitfilename)

bool response = AlertWindow::showOkCancelBox(AlertWindow::NoIcon,
"FPGA bitfile not found.",
"The rhd2000.bit file was not found in the directory of the executable. Would you like to browse for it?",
(evalBoard->isUSB3() ?
"The rhd2000_usb3.bit file was not found in the directory of the executable. Would you like to browse for it?" :
"The rhd2000.bit file was not found in the directory of the executable. Would you like to browse for it?"),
"Yes", "No", 0, 0);
if (response)
{
Expand Down
6 changes: 3 additions & 3 deletions Source/Processors/DataThreads/rhythm-api/rhd2000evalboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1389,14 +1389,14 @@ void Rhd2000EvalBoard::flush()
{
dev->SetWireInValue(WireInResetRun, 1 << 16, 1 << 16); //Override pipeout block throttle
dev->UpdateWireIns();
cout << "Pre-Flush: " << numWordsInFifo() << endl;
//cout << "Pre-Flush: " << numWordsInFifo() << endl;
while (numWordsInFifo() >= USB_BUFFER_SIZE / 2) {
dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, USB_BUFFER_SIZE, usbBuffer);
cout << "Flush phase A: " << numWordsInFifo() << endl;
// cout << "Flush phase A: " << numWordsInFifo() << endl;
}
while (numWordsInFifo() > 0) {
dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, USB3_BLOCK_SIZE *max(2 * numWordsInFifo() / USB3_BLOCK_SIZE, (unsigned int)1), usbBuffer);
cout << "Flush phase B: " << numWordsInFifo() << endl;
// cout << "Flush phase B: " << numWordsInFifo() << endl;
printFIFOmetrics();
}
dev->SetWireInValue(WireInResetRun, 0, 1 << 16);
Expand Down

0 comments on commit e3df200

Please sign in to comment.