Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Software Public
PASSOFT
SOHViewer
Commits
233e62a8
Commit
233e62a8
authored
1 year ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
combine value of GPS Clock Power to GPS Lk/Unlk
parent
6d03ba71
No related branches found
No related tags found
1 merge request
!180
Make GPS Lk/Unlk and GPS Clock Power to plot in the same channel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/model/reftek_data/log_info.py
+5
-5
5 additions, 5 deletions
sohstationviewer/model/reftek_data/log_info.py
with
5 additions
and
5 deletions
sohstationviewer/model/reftek_data/log_info.py
+
5
−
5
View file @
233e62a8
...
@@ -466,6 +466,11 @@ class LogInfo():
...
@@ -466,6 +466,11 @@ class LogInfo():
epoch
=
self
.
simple_read
(
line
)[
1
]
epoch
=
self
.
simple_read
(
line
)[
1
]
if
epoch
:
if
epoch
:
self
.
add_chan_info
(
'
GPS Lk/Unlk
'
,
epoch
,
1
,
idx
)
self
.
add_chan_info
(
'
GPS Lk/Unlk
'
,
epoch
,
1
,
idx
)
elif
"
EXTERNAL CLOCK CYCLE
"
in
line
:
# GPS Clock Power
epoch
=
self
.
simple_read
(
line
)[
1
]
if
epoch
:
self
.
add_chan_info
(
'
GPS Lk/Unlk
'
,
epoch
,
0
,
idx
)
elif
any
(
x
in
line
for
x
in
[
"
EXTERNAL CLOCK POWER IS TURNED ON
"
,
elif
any
(
x
in
line
for
x
in
[
"
EXTERNAL CLOCK POWER IS TURNED ON
"
,
"
EXTERNAL CLOCK WAKEUP
"
,
"
EXTERNAL CLOCK WAKEUP
"
,
...
@@ -488,11 +493,6 @@ class LogInfo():
...
@@ -488,11 +493,6 @@ class LogInfo():
if
epoch
:
if
epoch
:
self
.
add_chan_info
(
'
GPS On/Off/Err
'
,
epoch
,
-
1
,
idx
)
self
.
add_chan_info
(
'
GPS On/Off/Err
'
,
epoch
,
-
1
,
idx
)
elif
"
EXTERNAL CLOCK CYCLE
"
in
line
:
epoch
=
self
.
simple_read
(
line
)[
1
]
if
epoch
:
self
.
add_chan_info
(
'
GPS Clock Power
'
,
epoch
,
1
,
idx
)
# ================= VERSIONS ==============================
# ================= VERSIONS ==============================
elif
any
(
x
in
line
for
x
in
[
"
REF TEK
"
,
"
CPU SOFTWARE
"
]):
elif
any
(
x
in
line
for
x
in
[
"
REF TEK
"
,
"
CPU SOFTWARE
"
]):
cpu_ver
=
self
.
read_cpu_ver
(
line
)
cpu_ver
=
self
.
read_cpu_ver
(
line
)
...
...
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