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
e3401ca3
Commit
e3401ca3
authored
6 years ago
by
Menno Norden
Browse files
Options
Downloads
Patches
Plain Diff
Task #1411: New script to check HBA-FE version (current V11)
parent
93fdebb3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
LCU/StationTest/hbaversion.sh
+28
-0
28 additions, 0 deletions
LCU/StationTest/hbaversion.sh
with
29 additions
and
0 deletions
.gitattributes
+
1
−
0
View file @
e3401ca3
...
...
@@ -1876,6 +1876,7 @@ LCU/StationTest/gold/xst_160.gold -text
LCU/StationTest/gold/xst_200_even.gold -text
LCU/StationTest/gold/xst_200_odd.gold -text
LCU/StationTest/hbacontrol.txt eol=lf
LCU/StationTest/hbaversion.sh -text
LCU/StationTest/i2c_spu.py eol=lf
LCU/StationTest/i2c_td.py eol=lf
LCU/StationTest/ledcheck.sh eol=lf
...
...
This diff is collapsed.
Click to expand it.
LCU/StationTest/hbaversion.sh
0 → 100644
+
28
−
0
View file @
e3401ca3
#!/bin/bash
#
# check the modem software version of the HBA-FE unit.
# modified for international and national
# version 10 HBA-FE is default on
# version 11 HBA-FE is default off (from PL610 2016 onwards)
# only check on element one in each tile
# 23-11-2018, M.J.Norden
let
rspboards
=
`
sed
-n
's/^\s*RS\.N_RSPBOARDS\s*=\s*\([0-9][0-9]*\).*$/\1/p'
/opt/lofar/etc/RemoteStation.conf
`
let
nrcus
=
8
*
$rspboards
version
=
11
if
[
$nrcus
-eq
96
]
;
then
echo
"HBA-FE modem version V-
$version
check national station"
sleep
2
python verify.py
--brd
rsp0
--fpga
blp0
--te
tc/hba_server.py
--server
2
--server_access
uc
--server_reg
version
--server_func
gb
--data
$version
python verify.py
--brd
rsp0,rsp1,rsp2,rsp3,rsp4,rsp5,rsp6,rsp7,rsp8,rsp9,rsp10,rsp11
--fpga
blp0,blp1,blp2,blp3
--te
tc/hba_server.py
--server
1
--server_access
uc
--server_reg
version
--server_func
gb
--data
$version
else
echo
"HBA-FE modem version V-
$version
check international station"
sleep
2
python verify.py
--brd
rsp0,rsp1,rsp2,rsp3,rsp4,rsp5,rsp6,rsp7,rsp8,rsp9,rsp10,rsp11,rsp12,rsp13,rsp14,rsp15,rsp16,rsp17,rsp18,rsp19,rsp20,rsp21,rsp22,rsp23
--fpga
blp0,blp1,blp2,blp3
--te
tc/hba_server.py
--server
1
--server_access
uc
--server_reg
version
--server_func
gb
--data
$version
fi
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