This article is only applicable for sbRIO with NI-DAQmx
. For legacy sbRIO, the sample point is defined within the source code of the Embedded CAN driver. It cannot be changed.
To configure the custom baud rate of a CAN port on sbRIO:
- Right click on the CAN port in LabVIEW Project Explorer and select Properties.
- Under Channel Configuration category, select <custom> from Baud Rate drop down menu.
- Configure the custom baud rate. Refer to Interface:64bit Baud Rate and Interface:CAN:64bit FD Baud Rate for the detailed explanation of the Bit Timing Registers.
To configure custom baud rate of a CAN interface programmatically, use Baud Rate Advanced
or FD Baud Rate Advanced
property node in the FPGA VI. You can refer to the shipping example CAN Configuration and Transmit (FPGA).vi
of sbRIO CAN Programmatic Configuration.lvproj
from NI Example Finder >> Hardware Input and Output >> CompactRIO >> Chassis Specific >> sbRIO with DAQmx