T2Segment
SCPI Command :
BUS<*>:CAN:FDATa:T2Segment
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(bus=Bus.Default) float[source]
# BUS<*>:CAN:FDATa:T2Segment value: float = driver.bus.can.fdata.t2Segment.get(bus = repcap.Bus.Default)
Sets the number of time quanta after the sample point (T2Segment) . T2Segment matches Phase_seg2 specified in the CAN standard. Make sure to set also method
RsRtx.bus.can.t1Segment.set()for correct definition of the sample point. Alternatively, you can use methodRsRtx.bus.can.samplePoint.set(). See also: ‘Advanced settings’ For CAN FD signals, methodRsRtx.bus.can.t2Segment.set()defines the synchronization of the arbitration phase, and methodRsRtx.bus.can.fdata.t2Segment.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_2: float, bus=Bus.Default) None[source]
# BUS<*>:CAN:FDATa:T2Segment driver.bus.can.fdata.t2Segment.set(flex_dat_time_seg_2 = 1.0, bus = repcap.Bus.Default)
Sets the number of time quanta after the sample point (T2Segment) . T2Segment matches Phase_seg2 specified in the CAN standard. Make sure to set also method
RsRtx.bus.can.t1Segment.set()for correct definition of the sample point. Alternatively, you can use methodRsRtx.bus.can.samplePoint.set(). See also: ‘Advanced settings’ For CAN FD signals, methodRsRtx.bus.can.t2Segment.set()defines the synchronization of the arbitration phase, and methodRsRtx.bus.can.fdata.t2Segment.set()defines the synchronization of the data phase.- Parameters:
flex_dat_time_seg_2 – Time quanta
bus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Bus’)