Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
testbeamDaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Chad Lantz
testbeamDaq
Commits
ea79a520
Commit
ea79a520
authored
5 years ago
by
tzhang74
Browse files
Options
Downloads
Patches
Plain Diff
version 1.0 -- debug 10
parent
82f52e6c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MyDaq/include/MyMainFrame.h
+1
-0
1 addition, 0 deletions
MyDaq/include/MyMainFrame.h
MyDaq/src/MyMainFrame.cpp
+1
-1
1 addition, 1 deletion
MyDaq/src/MyMainFrame.cpp
README
+25
-0
25 additions, 0 deletions
README
with
27 additions
and
1 deletion
MyDaq/include/MyMainFrame.h
+
1
−
0
View file @
ea79a520
...
...
@@ -69,6 +69,7 @@ class MyMainFrame : public TGMainFrame {
int
daq_set_eloghandler
(
const
char
*
host
,
const
int
port
,
const
char
*
logname
);
char
*
GetHostName
();
int
GetPort
(){
return
8082
;};
char
*
GetLogName
(){
return
"FermilabDAQ"
;}
public
:
ClassDef
(
MyMainFrame
,
0
)
...
...
This diff is collapsed.
Click to expand it.
MyDaq/src/MyMainFrame.cpp
+
1
−
1
View file @
ea79a520
...
...
@@ -163,7 +163,7 @@ void MyMainFrame::DoStart() {
//elog
std
::
cout
<<
"Set ElogHandler"
<<
std
::
endl
;
daq_set_eloghandler
(
GetHostName
(),
GetPort
(),
"testBeamElog"
);
daq_set_eloghandler
(
GetHostName
(),
GetPort
(),
GetLogName
()
);
if
(
ElogH
){
ElogH
->
BegrunLog
(
GetRunNumber
(),
"MyMainFrame"
,
GetFileName
());
...
...
This diff is collapsed.
Click to expand it.
README
+
25
−
0
View file @
ea79a520
...
...
@@ -121,3 +121,28 @@ Device not xxusb
4) If during setup you get something about usb.h not found. You probably dont have libusb-devel
sudo yum install libusb*
------------------------------------------------------
------------------------------------------------------
ELOG
1) Add logbook "FermilabDAQ" to elog config file before using elogd to setup server
(config is possibly at /usr/local/elog/elogd.cfg )
Example:
[global]
port = 8082
logbook tabs = 0
Welcome title = ZDC Prototype Logbook for 2019
[FermilabDAQ]
Theme = default
Comment = ZDC DAQ Logbook for Test Beam at Fermilab
Data dir = /home/elog/FermilabDAQ
Attributes = Author, Subject
Reverse sort = 1
Required Attributes = Subject, Author
Page Title = ZDC DAQ Logbook for Test Beam at Fermilab
Display mode = full
Thumbnail size = 100
2) setup server with
elogd [-D for daemon] -c /path/to/config/elogd.cfg -v
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