BusSpeed

Display speed of CAN bus

Description

The BusSpeed property determines the bit rate at which messages are transmitted. You can set BusSpeed to an acceptable bit rate using the configBusSpeed function.

Characteristics

Usage

CAN 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 and pass the channel name and the value as input parameters.

Examples

To change the current BusSpeed of the CAN channel object canch to 250000, type:

configBusSpeed(canch, 250000)

See Also

Functions

canChannel, configBusSpeed

Properties

NumOfSamples, SJW, TSEG1, TSEG2

Was this topic helpful?