Bitrate

SCPI Command :

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

For CAN buses, the Bit rate sets the number of transmitted bits per second. For CAN FD buses, this parameter is called Arbitration rate and sets the bit rate of the arbitration phase. The maximum bit rate for High Speed CAN is 1 Mbit/s. The bit rate is uniform and fixed for a given CAN or CAN FD bus.

Parameters:

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

Returns:

bitrate: 100 to 5E+6

set(bitrate: float, bus=Bus.Default) None[source]
# BUS<*>:CAN:BITRate
driver.bus.can.bitrate.set(bitrate = 1.0, bus = repcap.Bus.Default)

For CAN buses, the Bit rate sets the number of transmitted bits per second. For CAN FD buses, this parameter is called Arbitration rate and sets the bit rate of the arbitration phase. The maximum bit rate for High Speed CAN is 1 Mbit/s. The bit rate is uniform and fixed for a given CAN or CAN FD bus.

Parameters:
  • bitrate – 100 to 5E+6

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