Using The Timesync Daemon In Linux - Moxa Technologies DA-IRIGB-4DIO-PCI104-EMC4 User Manual

Hide thumbs Also See for DA-IRIGB-4DIO-PCI104-EMC4:
Table of Contents

Advertisement

DA-IRIGB-4DIO-PCI104-EMC4 Module
DA-682A-irigb_timesync_daemon_1.2_amd64.deb
Selecting previously unselected package da-682a-irigb-timesync-daemon.
(Reading database ... 31661 files and directories currently installed.)
Unpacking da-682a-irigb-timesync-daemon (from
DA-682A-irigb_timesync_daemon_1.2_amd64.deb) ...
Setting up da-682a-irigb-timesync-daemon (1.2) ...
5. Verify that the driver is loaded and the time sync daemon is running.
a. Use the
root@Moxa:~# lsmod|grep irig
moxa_irigb
b. Verify that the timesync daemon is running with the default configuration.
root@Moxa:~# root@Moxa:~# ps aux|grep ServiceSyncTime
root
/usr/sbin/ServiceSyncTime -t 1 -i 10 –B

Using the timesync Daemon in Linux

The following figure shows the help information of the timesync daemon.
root@Moxa:~# ServiceSyncTime -h
Found the IRIG-B module, Hardware ID = 1
IRIG-B time sync daemon.
Usage: ServiceSyncTime -t [signal type] -I -d -i [Time sync interval] -p [Parity check
mode] -B
-t - [signal type]
0 - TTL
1 - DIFF
default value is 1
-I - inverse the input or output signal
-d - Disable time sync
Default this daemon enables the IRIG-B time sync from source port to system time.
-i - [Time sync interval] The time interval in seconds to sync the IRIG-B time
into system time.
1 ~ 86400 Time sync interval. Default is 10 second.
-p - [Parity check mode] Set the parity bit
0: EVEN
1: ODD
2: NONE
default value is 0
-B - Run daemon in the background
Usage example: Enable to sync time from IRIG-B Port 1, in TTL signal type every 10
seconds. The input is not inverse.
root@Moxa:~# ServiceSyncTime -t 0 -i 10
command to check whether the IRIG-B module is loaded.
lsmod
12683 1
3078 0.0 0.1 16136 1140 ?
Software Installation and Configuration
S
10:43
4-4
0:00

Advertisement

Table of Contents
loading

Table of Contents