clock test-source

Function

The clock test-source testclk0 signal 1pps output command sets a signal type for the clock test interface.

The undo clock test-source testclk0 signal 1pps output command deletes the configured signal type for the clock test interface.

The clock test-source testclk0 send-delay slot command sets the send-delay compensation value of the clock test interface to 100 ns.

The undo clock test-source testclk0 send-delay slot command deletes the configured send-delay compensation value of the clock test interface to 100 ns.

The default value of send-delay is 0, indicating that the delivered delay value is 0. The default signal value of the clock test interface is 1PPS, indicating that the signal type is 1PPS.

Format

clock test-source testclk0 signal 1pps output slot slot-id

clock test-source testclk0 send-delay send-delay-value slot slot-id

undo clock test-source testclk0 signal 1pps output slot slot-id

undo clock test-source testclk0 send-delay send-delay-value slot slot-id

Parameters

Parameter Description Value
slot-id

The available slot.

The value is a string of 1 to 16 case-sensitive characters, spaces not supported.

testclk0

Test port.

The value is a string case-sensitive characters, spaces not supported.

send-delay send-delay-value

Offset for send-delay, in ns.

The value is an integer that ranges from 0 to 10000. The default value is 0.

1pps

1PPS+RS232.

The value is a string case-sensitive characters, spaces not supported.

output

Signal direction.

The value is a string case-sensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

When the clock test interface is connected to another device or meter, there is a send-delay due to transmission over cables. As a result, the 1PPS performance has a fixed deviation. To resolve this problem, you can run this command to set an offset for send-delay.

This command is valid only when the device has a clock test interface.

Example

# Set the delay compensation value of the clock test interface to 100 ns.
<HUAWEI> system-view
[~HUAWEI] clock test-source testclk0 send-delay 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >