T1Segment

SCPI Command :

BUS<*>:CAN:FDATa:T1Segment
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(bus=Bus.Default) float[source]
# BUS<*>:CAN:FDATa:T1Segment
value: float = driver.bus.can.fdata.t1Segment.get(bus = repcap.Bus.Default)

Sets the number of time quanta before the sample point (T1Segment) . T1Segment comprises the segments Synch_seg, Prop_seg, and Phase_seg1 which are specified in the CAN standard. Make sure to set also method RsRtx.bus.can.t2Segment.set() for correct definition of the sample point. Alternatively, you can use method RsRtx.bus.can.samplePoint.set() . See also: ‘Advanced settings’ For CAN FD signals, method RsRtx.bus.can.t1Segment.set() defines the synchronization of the arbitration phase, and method RsRtx.bus.can.fdata.t1Segment.set() defines the synchronization of the data phase.

Parameters:

bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)

set(flex_dat_time_seg_1: float, bus=Bus.Default) None[source]
# BUS<*>:CAN:FDATa:T1Segment
driver.bus.can.fdata.t1Segment.set(flex_dat_time_seg_1 = 1.0, bus = repcap.Bus.Default)

Sets the number of time quanta before the sample point (T1Segment) . T1Segment comprises the segments Synch_seg, Prop_seg, and Phase_seg1 which are specified in the CAN standard. Make sure to set also method RsRtx.bus.can.t2Segment.set() for correct definition of the sample point. Alternatively, you can use method RsRtx.bus.can.samplePoint.set() . See also: ‘Advanced settings’ For CAN FD signals, method RsRtx.bus.can.t1Segment.set() defines the synchronization of the arbitration phase, and method RsRtx.bus.can.fdata.t1Segment.set() defines the synchronization of the data phase.

Parameters:
  • flex_dat_time_seg_1 – Time quanta

  • bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)