CAN Express VI

LabVIEW 2015 roboRIO Toolkit Help

Edition Date: June 2015

Part Number: 374999A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: roboRIO VIs

Requires: roboRIO Toolkit

Writes data to or reads data from a Controller Area Network (CAN) slave device through the CAN channel on the roboRIO.

Details  

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
Node nameSpecifies the name of this Express VI. You can also double-click the name of this Express VI on the expandable node to edit the name.
ChannelSpecifies the CAN channel to write data to or read data from a CAN slave device. The roboRIO contains one CAN channel.
ConnectionsShows the roboRIO pins that correspond to the CAN L (GRN) line and the CAN H (YEL) line.
ModeSpecifies the mode of operation that this Express VI uses to communicate with the CAN slave device. Mode contains the following options:
  • Write—Specifies that this Express VI writes data to the CAN slave device.
  • Read—Specifies that this Express VI reads data from the CAN slave device.
Communication settingsSpecifies the configuration for communicating with the CAN slave device. Communication settings contains the following option:
  • Baud rate—Specifies the baud rate of transmission. The default is 125,000.
View CodeDisplays the underlying code of this Express VI.
Connection DiagramShows the I/O connector pinouts on the roboRIO. The highlighted pinouts represent the channels that you configure.

Block Diagram Inputs

ParameterDescription
CAN frameSpecifies the CAN frames to write to the CAN slave device. This input is available when you set Mode to Write.
error in (no error)Describes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
CAN frameReturns the CAN frames that this Express VI reads from the CAN slave device. This input is available when you set Mode to Read.
timestampReturns the time, in microseconds, that this Express VI reads the CAN frame from the CAN slave device. This input is available when you set Mode to Read.
error outContains error information. This output provides standard error out functionality.

CAN Details

With this Express VI, you can select the most common baud rates from the Baud rate pull-down menu. If your application requires other baud rates, use the Embedded CAN for RIO VIs to specify your desired baud rates.

Related Information

CAN Frames

Embedded CAN for RIO VIs

Baud Rate

WAS THIS ARTICLE HELPFUL?

Not Helpful