Use the ncAction.vi
with "Reset" constant wired into the Opcode input.
The Reset action first issues the Stop action, clears all entries from the write queue, then resets the CAN or LIN hardware. Resetting the CAN hardware sets the CAN error counters to zero, returning the CAN controller to error active state. Resetting the LIN hardware returns the interface to slave mode and resets all slave task response queue entries so that the slave task subscribes to all LIN IDs.
The reset action is propagated up to all open higher-level CAN Objects. The NI-CAN Hardware and Software Manual and Specifications
document provides more details of this VI.