Documentation

BusSpeed

Indicate bit rate of bus

Description

The BusSpeed property indicates the speed at which messages are transmitted in bits per second. You can set BusSpeed to an acceptable bit rate using the configBusSpeed function.

Characteristics

Usage

CAN channel, J1939 channel

Read only

Always

Data type

Numerical

Values

The default value is assigned by the vendor driver. To change the bus speed of your channel, use the configBusSpeed function with the channel name and the value as input parameters.

Examples

Change the bus speed of the CAN channel object canch to 250,000 bits per second, and view the result.

configBusSpeed(canch,250000);
bs = canch.BusSpeed
Was this topic helpful?