Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Anna
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
LAGO
Software
Anna
Commits
5433ec17
Unverified
Commit
5433ec17
authored
8 months ago
by
Hernán Asorey
Browse files
Options
Downloads
Patches
Plain Diff
Reading P&T in new data structure
parent
d243adbe
Branches
master
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/lago_defs.h
+3
-2
3 additions, 2 deletions
include/lago_defs.h
include/lago_file.h
+7
-1
7 additions, 1 deletion
include/lago_file.h
lago-anna.sh
+1
-1
1 addition, 1 deletion
lago-anna.sh
with
11 additions
and
4 deletions
include/lago_defs.h
+
3
−
2
View file @
5433ec17
...
@@ -20,12 +20,13 @@
...
@@ -20,12 +20,13 @@
#define CODEVERSION "v5"
#define CODEVERSION "v5"
#define DATAVERSION 5
#define DATAVERSION 5
#define CHANNELS
3
#define CHANNELS
2
#define TRACELEN 12
#define TRACELEN 12
#define BASELINE 50
#define BASELINE 50
#define BIN 25.
#define BIN 25.
#define ADCMAX 1024
#define ADCMAX 1024
#define CHRGMAX 4096
#define CHRGMAX 4096
#define CHRGMIN 0
#define TRIGGERBIN 3
#define TRIGGERBIN 3
#endif
#endif
\ No newline at end of file
This diff is collapsed.
Click to expand it.
include/lago_file.h
+
7
−
1
View file @
5433ec17
...
@@ -103,8 +103,14 @@ class LagoFile {
...
@@ -103,8 +103,14 @@ class LagoFile {
break
;
break
;
case
'x'
:
// extra data
case
'x'
:
// extra data
switch
(
line
[
4
])
{
switch
(
line
[
4
])
{
case
's'
:
// sensors
case
's'
:
// sensors
in Nexys
sscanf
(
line
,
"# x s %lf C %lf hPa"
,
&
(
Data
->
temperature
),
&
(
Data
->
pressure
));
// not reading altitude
sscanf
(
line
,
"# x s %lf C %lf hPa"
,
&
(
Data
->
temperature
),
&
(
Data
->
pressure
));
// not reading altitude
break
;
case
'p'
:
// pressure in RP
sscanf
(
line
,
"# x p %lf"
,
&
(
Data
->
pressure
));
break
;
case
't'
:
// temperature in RP
sscanf
(
line
,
"# x t %lf"
,
&
(
Data
->
temperature
));
break
;
break
;
case
'f'
:
// clock frequency
case
'f'
:
// clock frequency
sscanf
(
line
,
"# x f %d
\n
"
,
&
(
Data
->
clockfrequency
));
sscanf
(
line
,
"# x f %d
\n
"
,
&
(
Data
->
clockfrequency
));
...
...
This diff is collapsed.
Click to expand it.
lago-anna.sh
+
1
−
1
View file @
5433ec17
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# License: BSD-3-Clause
# License: BSD-3-Clause
# See the LICENSE file in the project root for full license information.
# See the LICENSE file in the project root for full license information.
################################################################################
################################################################################
VERSION
=
"
1.5
.0"
VERSION
=
"
2.0
.0"
export
LAGO_ANNA
=
${
PWD
}
export
LAGO_ANNA
=
${
PWD
}
date
=
$(
date
-u
)
date
=
$(
date
-u
)
echo
"#
echo
"#
...
...
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