SamplePoint

SCPI Command :

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

Sets the position of the sample point within the bit in percent of the nominal bit time. Alternatively, you can set the sample point with method RsRtx.bus.can.t1Segment.set() and method RsRtx.bus.can.t2Segment.set() . For CAN FD signals, method RsRtx.bus.can.samplePoint.set() defines the synchronization of the arbitration phase, and method RsRtx.bus.can.fdata.samplePoint.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_smp_pt: float, bus=Bus.Default) None[source]
# BUS<*>:CAN:FDATa:SAMPlepoint
driver.bus.can.fdata.samplePoint.set(flex_dat_smp_pt = 1.0, bus = repcap.Bus.Default)

Sets the position of the sample point within the bit in percent of the nominal bit time. Alternatively, you can set the sample point with method RsRtx.bus.can.t1Segment.set() and method RsRtx.bus.can.t2Segment.set() . For CAN FD signals, method RsRtx.bus.can.samplePoint.set() defines the synchronization of the arbitration phase, and method RsRtx.bus.can.fdata.samplePoint.set() defines the synchronization of the data phase.

Parameters:
  • flex_dat_smp_pt – 12 to 96 if number of segments is 24. The range reduces if the signal has fewer segments.

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