Hardware

SCPI Commands :

CDR:HARDware:SAMTime
CDR:HARDware:BITRate
CDR:HARDware:ESLope
Commands in total: 9
Subgroups: 3
Direct child commands: 3
get_bitrate() float[source]
# CDR:HARDware:BITRate
value: float = driver.cdr.hardware.get_bitrate()

Sets the frequency of the feed forward CDR. It corresponds to the data rate of the data stream from which the clock is to be recovered.

Returns:

bitrate: 200E+3 to 2.5E+9 for 10 GSa/s; range depends on sample rate

get_eslope() Edge[source]
# CDR:HARDware:ESLope
value: enums.Edge = driver.cdr.hardware.get_eslope()

Selects the edges of the data stream that are used for the clock recovery. The acquisition and average count has a double effect:

  • Either: Both positive and negative edges are used.

  • Positive or Negative: Only one edge direction is used. Use one of these settings if the other edge delivers unreliable results.

Returns:

edge: POSitive | NEGative | EITHer

get_sam_time() float[source]
# CDR:HARDware:SAMTime
value: float = driver.cdr.hardware.get_sam_time()

Sets a sampling time for the clock signal, an offset for the clock edge in relation to the bit start. The clock edge sets the beginning of the unit interval. The sampling time is a number between 0 and 1. Value 0 sets the clock edge to the beginning of the bit period; value 0.5 sets the clock edge to the middle of the bit period.

Returns:

unt_intvl_offs: 0 to 1

set_bitrate(bitrate: float) None[source]
# CDR:HARDware:BITRate
driver.cdr.hardware.set_bitrate(bitrate = 1.0)

Sets the frequency of the feed forward CDR. It corresponds to the data rate of the data stream from which the clock is to be recovered.

Parameters:

bitrate – 200E+3 to 2.5E+9 for 10 GSa/s; range depends on sample rate

set_eslope(edge: Edge) None[source]
# CDR:HARDware:ESLope
driver.cdr.hardware.set_eslope(edge = enums.Edge.EITHer)

Selects the edges of the data stream that are used for the clock recovery. The acquisition and average count has a double effect:

  • Either: Both positive and negative edges are used.

  • Positive or Negative: Only one edge direction is used. Use one of these settings if the other edge delivers unreliable results.

Parameters:

edge – POSitive | NEGative | EITHer

set_sam_time(unt_intvl_offs: float) None[source]
# CDR:HARDware:SAMTime
driver.cdr.hardware.set_sam_time(unt_intvl_offs = 1.0)

Sets a sampling time for the clock signal, an offset for the clock edge in relation to the bit start. The clock edge sets the beginning of the unit interval. The sampling time is a number between 0 and 1. Value 0 sets the clock edge to the beginning of the bit period; value 0.5 sets the clock edge to the middle of the bit period.

Parameters:

unt_intvl_offs – 0 to 1

Cloning the Group

# Create a copy of the original group, that exists independently
hardware_copy = driver.cdr.hardware.clone()

Subgroups