EDM01-36v10 DAG_9.2X2_Card_User_Guide - Synchronizing clock time
©2010 - 2012 Endace Technology Ltd. Confidential - Version 10 - May 2012
55
Dagclock
The DUCK is very flexible and can be used with or without an external time reference. It can accept
synchronization from one of several input sources and also be made to drive its synchronization output
from one of several sources.
Synchronization settings are controlled by the
dagclock
utility.
Notes:
•
You should only run
dagclock
after you have loaded the appropriate FPGA images. If at any stage
you reload the FPGA images you must rerun
dagclock
to restore the configuration.
•
When you run
dagconfig -d0 default
the
dagclock
inputs and outputs are also reset to
defaults.
•
By default, all DAG cards listen for synchronization signals on their RS-422 port, and do not output
any signal to that port.
A description of each argument is shown below:
Option
Description
-d,
--device <device>
Use the DAG device referred to by DEVICE. Supported syntax includes 0, dag1, and
/dev/dag3 to refer to DAG cards.
-?,--usage
-h,--help
Display the information on this page
-k,--sync
Wait for DUCK synchronization before exiting
-K,--timeout
<timeout>
Set the synchronization timeout in seconds (default is 60 seconds)
-l,--threshold
<threshold>
Set the Health threshold in nanoseconds. (default is 596ns)
-m,--monitor
Monitors the dagclock's health and displays results each second.
-p,--phase <phase>
Sets the phase correction in ns. The default is 0ns.
-v, --verbose
Increase output verbosity
-V, --version
Display version information
-x
--clearstats
Clears the dagclock statistics.
Options
Command
Description
default
Set the
dagclock
input and output to RS422 in and none out.
none
Clears the input and output settings.
rs422in
Sets the
dagclock
input to RS422.
hostin
Sets the
dagclock
input to Host (unused)
overin
Sets the
dagclock
input to Internal input (i.e. synchronise to host clock)
auxin
Sets the
dagclock
input to Auxiliary input (unused)
rs422out
Sets the
dagclock
output to repeat the RS422 input signal
loop
Output the selected input
hostout
Sets the
dagclock
output to host (unused)
overout
Internal output (master card)
set
Sets the DAG card's clock to computer clock time and clears clock statistics. The DAG card
takes approximately 20 to 30 seconds to re-synchronize.
reset
Full clock reset. Load time from computer, set RS422in, none out. Clears clock statistics.
The DAG card takes approximately 20 to 30 seconds to re-synchronize.
sync
Wait for duck to sync before exiting.
Note:
By default, all DAG cards listen for synchronization signals on their RS-422 port, and do not output any
signals to that port.