Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - 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 DEL 1ns 4cha - Software
Commits
aa877ec8
Commit
aa877ec8
authored
Mar 21, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/fmc-fdelay-pulse.c: as verbose, report both as raw and human-readable
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
bacf5df8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
fine-delay.in
doc/fine-delay.in
+17
-0
fmc-fdelay-pulse.c
tools/fmc-fdelay-pulse.c
+3
-1
No files found.
doc/fine-delay.in
View file @
aa877ec8
...
...
@@ -1142,6 +1142,23 @@ options:
@end table
This is, for example, how verbose operation reports the request for a single pulse 300ns wide, 2 microseconds into the next second.:
@smallexample
spusa.root# ./tools/fmc-fdelay-board-time get;
\
./tools/fmc-fdelay-pulse -i 0 -o 1 -m pulse -r 2u -w 300n -c 1 -t -v
WR Status: disabled.
Time: 13728.801090400
Channel 1, mode pulse, repeat 1
start time 13729:000,002,000,000 ps
end time 13729:000,002,300,000 ps
loop time 0:100,000,000,000 ps
Channel 1, mode pulse, repeat 1
start raw utc 13729, coarse 250, frac 0
end raw utc 13729, coarse 287, frac 2048
loop raw utc 0, coarse 12500000, frac 0
@end smallexample
@c ==========================================================================
@node fmc-fdelay-status
@section fmc-fdelay-status
...
...
tools/fmc-fdelay-pulse.c
View file @
aa877ec8
...
...
@@ -352,8 +352,10 @@ int main(int argc, char **argv)
/* Done. Report verbosely and activate the information we parsed */
channel
=
FDELAY_OUTPUT_USER_TO_HW
(
channel
);
if
(
verbose
)
if
(
verbose
)
{
tools_report_action
(
channel
,
&
p
,
TOOLS_UMODE_USER
);
tools_report_action
(
channel
,
&
p
,
TOOLS_UMODE_RAW
);
}
if
(
fdelay_config_pulse
(
b
,
channel
,
&
p
)
<
0
)
{
fprintf
(
stderr
,
"%s: fdelay_config_pulse(): %s
\n
"
,
argv
[
0
],
strerror
(
errno
));
...
...
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