Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin-GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yehaojie
plugin-GUI
Commits
13185897
Commit
13185897
authored
12 years ago
by
jsiegle
Browse files
Options
Downloads
Patches
Plain Diff
Removed check for multiple Intan Boards in ProcessorGraph
parent
0730a038
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Processors/ProcessorGraph.cpp
+6
-6
6 additions, 6 deletions
Source/Processors/ProcessorGraph.cpp
with
6 additions
and
6 deletions
Source/Processors/ProcessorGraph.cpp
+
6
−
6
View file @
13185897
...
...
@@ -385,15 +385,15 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
subProcessorType
.
equalsIgnoreCase
(
"Custom FPGA"
)
||
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
{
//
if (subProcessorType.equalsIgnoreCase("Intan Demo Board") &&
//
!processorWithSameNameExists(subProcessorType)) {
//
std::cout << "Only one Intan Demo Board is allowed at a time."
//
<< std::endl;
//
} else {
std
::
cout
<<
"Creating a new data source."
<<
std
::
endl
;
processor
=
new
SourceNode
(
subProcessorType
);
}
//
}
}
else
if
(
subProcessorType
.
equalsIgnoreCase
(
"Signal Generator"
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment