Skip to content
Snippets Groups Projects
Commit 5df54d19 authored by jsiegle's avatar jsiegle
Browse files

GUI can now communicate with RHD2000 eval board (but no data transfer yet)

parent 94fb069e
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ FPGAThread::FPGAThread(SourceNode* sn)
//const char* bitfilename = "./pipetest.bit";
#if JUCE_LINUX
const char* bitfilename = "./pipetest.bit";
const char* libname = "./libokFrontPanel64.so";
const char* libname = "./libokFrontPanel.so";
#endif
#if JUCE_WIN32
const char* bitfilename = "pipetest.bit";
......
......@@ -59,6 +59,9 @@ RHD2000Thread::~RHD2000Thread() {
std::cout << "RHD2000 interface destroyed." << std::endl;
int ledArray[8] = {0, 0, 0, 0, 0, 0, 0, 0};
evalBoard->setLedDisplay(ledArray);
deleteAndZero(evalBoard);
}
......@@ -120,5 +123,5 @@ bool RHD2000Thread::updateBuffer()
{
// data transfer and sorting code goes here
}
\ No newline at end of file
......@@ -383,15 +383,16 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
if (subProcessorType.equalsIgnoreCase("Intan Demo Board") ||
subProcessorType.equalsIgnoreCase("File Reader") ||
subProcessorType.equalsIgnoreCase("Custom FPGA") ||
subProcessorType.equalsIgnoreCase("RHD2000 Eval Board")) {
subProcessorType.equalsIgnoreCase("RHD2000 USB Board")) {
if (subProcessorType.equalsIgnoreCase("Intan Demo Board") &&
!processorWithSameNameExists(subProcessorType)) {
std::cout << "Only one Intan Demo Board is allowed at a time."
<< std::endl;
} else {
processor = new SourceNode(subProcessorType);
std::cout << "Creating a new data source." << std::endl;
processor = new SourceNode(subProcessorType);
}
} else if (subProcessorType.equalsIgnoreCase("Signal Generator"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment