Documentation

Hardware Connection

CAN hardware connection and configuration

Hardware connection functions define a connection to a CAN interface hardware that establishes a physical connection to a CAN bus.

Functions

canHWInfo Information on available CAN devices
canChannel Construct CAN channel connected to selected device
discard Discard all messages from CAN channel
CAN.VendorInfo Display available device vendor information
CAN.ChannelInfo Display device channel information
configBusSpeed Set bit timing rate of CAN channel
canTool Open Vehicle CAN Bus Monitor

Properties

BusLoad Display load on CAN bus
Database Store CAN database information
MessageReceivedFcn Specify function to run
MessageReceivedFcnCount Specify number of messages available before function is triggered
OnboardTermination Configure bus termination on device
Running Determine status of channel
SilentMode Specify if channel is active or silent
StartTriggerTerminal Specify start trigger source terminal
TransceiverName Name of device transceiver
TransceiverState Display state or mode of transceiver
UserData Enter custom data
Device Display channel device type
Device(NI) Display NI CAN channel device type
DeviceChannelIndex Display device channel index
DeviceSerialNumber Display device serial number
DeviceVendor Display device vendor name
InitializationAccess Determine control of device channel
BusSpeed Indicate bit rate of bus
NumOfSamples Display number of samples available to channel
SJW Synchronization jump width (SJW) of bit time segment
TSEG1 Display amount that channel can lengthen sample time
TSEG2 Display amount that channel can shorten sample time

Blocks

CAN Configuration Configure parameters for specified CAN device
Was this topic helpful?