Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC TDC 1ns 5cha - Software
Commits
232ae159
Commit
232ae159
authored
Feb 03, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: export reference global id
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
28b21e65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
fmctdc-lib.c
lib/fmctdc-lib.c
+1
-0
fmctdc-lib.h
lib/fmctdc-lib.h
+1
-0
No files found.
lib/fmctdc-lib.c
View file @
232ae159
...
...
@@ -408,6 +408,7 @@ int fmctdc_read(struct fmctdc_board *userb, int channel, struct fmctdc_time *t,
t
->
frac
=
ctrl
.
tstamp
.
bins
;
t
->
seq_id
=
ctrl
.
seq_num
;
t
->
gseq_id
=
attrs
[
FT_ATTR_DEV_SEQUENCE
];
t
->
ref_gseq_id
=
attrs
[
FT_ATTR_TDC_DELAY_REF_SEQ
];
i
++
;
continue
;
}
...
...
lib/fmctdc-lib.h
View file @
232ae159
...
...
@@ -40,6 +40,7 @@ struct fmctdc_time {
uint32_t
frac
;
/**< number of frac of 81.03ps */
uint32_t
seq_id
;
/**< channel sequence number*/
uint32_t
gseq_id
;
/**< board sequence number */
uint32_t
ref_gseq_id
;
/**< board sequence number of the reference */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment