Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
3f341c9e
Commit
3f341c9e
authored
18 years ago
by
wierenga
Browse files
Options
Downloads
Patches
Plain Diff
BugID: 970
Remove unnecessary WRITE_CDO_ONCE configuration option.
parent
2d55b9b6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MAC/APL/PIC/RSPDriver/src/CDOWrite.cc
+0
-5
0 additions, 5 deletions
MAC/APL/PIC/RSPDriver/src/CDOWrite.cc
MAC/APL/PIC/RSPDriver/src/RSPDriver.conf.in
+2
-5
2 additions, 5 deletions
MAC/APL/PIC/RSPDriver/src/RSPDriver.conf.in
with
2 additions
and
10 deletions
MAC/APL/PIC/RSPDriver/src/CDOWrite.cc
+
0
−
5
View file @
3f341c9e
...
@@ -149,11 +149,6 @@ uint16 CDOWrite::compute_ip_checksum(void* addr, int count)
...
@@ -149,11 +149,6 @@ uint16 CDOWrite::compute_ip_checksum(void* addr, int count)
void
CDOWrite
::
sendrequest
()
void
CDOWrite
::
sendrequest
()
{
{
// write register (with same setting) every second if WRITE_CDO_ONCE == 0
if
(
0
==
GET_CONFIG
(
"RSPDriver.WRITE_CDO_ONCE"
,
i
))
{
Cache
::
getInstance
().
getState
().
cdo
().
write
(
getBoardId
()
*
getNumIndices
()
+
getCurrentIndex
());
}
// skip update if the CDO settings have not been modified
// skip update if the CDO settings have not been modified
if
(
RTC
::
RegisterState
::
WRITE
!=
Cache
::
getInstance
().
getState
().
cdo
().
get
(
getBoardId
()
*
getNumIndices
()
+
getCurrentIndex
()))
if
(
RTC
::
RegisterState
::
WRITE
!=
Cache
::
getInstance
().
getState
().
cdo
().
get
(
getBoardId
()
*
getNumIndices
()
+
getCurrentIndex
()))
{
{
...
...
This diff is collapsed.
Click to expand it.
MAC/APL/PIC/RSPDriver/src/RSPDriver.conf.in
+
2
−
5
View file @
3f341c9e
...
@@ -40,8 +40,8 @@ RSPDriver.PPS_TRIGGER=1
...
@@ -40,8 +40,8 @@ RSPDriver.PPS_TRIGGER=1
#
#
# Specify MAC addresses of the RSP boards explicitly
# Specify MAC addresses of the RSP boards explicitly
#
#
RSPDriver.MAC_ADDR_0=10:FA:00:00:
00
:00
RSPDriver.MAC_ADDR_0=10:FA:00:00:
11
:00
RSPDriver.MAC_ADDR_1=10:FA:00:00:
0
1:00
RSPDriver.MAC_ADDR_1=10:FA:00:00:1
2
:00
RSPDriver.MAC_ADDR_2=10:FA:00:00:02:00
RSPDriver.MAC_ADDR_2=10:FA:00:00:02:00
RSPDriver.MAC_ADDR_3=10:FA:00:00:03:00
RSPDriver.MAC_ADDR_3=10:FA:00:00:03:00
RSPDriver.MAC_ADDR_4=10:FA:00:00:04:00
RSPDriver.MAC_ADDR_4=10:FA:00:00:04:00
...
@@ -210,9 +210,6 @@ RSPDriver.LOOPBACK_MODE=0
...
@@ -210,9 +210,6 @@ RSPDriver.LOOPBACK_MODE=0
RSPDriver.WRITE_RSU=1
RSPDriver.WRITE_RSU=1
RSPDriver.WRITE_BS=1
RSPDriver.WRITE_BS=1
RSPDriver.WRITE_CDO=1
RSPDriver.WRITE_CDO=1
# WRITE_CDO_ONCE, if set to 1 only write CDO register once at startup
# otherwise rewrite same data every update (= second)
RSPDriver.WRITE_CDO_ONCE=1#0
# READ_CDO, if set to 1 reads back contents of pid=CDO, regid=0x01
# READ_CDO, if set to 1 reads back contents of pid=CDO, regid=0x01
# This can be used to verify that the UDP/IP header is correctly
# This can be used to verify that the UDP/IP header is correctly
# written to the register.
# written to the register.
...
...
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