CAN Stop.vi
Purpose
Stop communication for the specified task.
Format

Inputs
![]() | task reference in is the task reference from the previous NI-CAN VI. The task reference is originally returned from CAN Init Start.vi, CAN Initialize.vi, or CAN Create Message.vi, and then wired through subsequent VIs. | ||||||
![]() | Error in describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the Error in cluster in Error out.
|
Outputs
![]() | task reference out is the same as task reference in. Wire the task reference to subsequent VIs for this task. | ||||||
![]() | Error out describes error conditions. If the Error in cluster indicated an error, the Error out cluster contains the same information. Otherwise, Error out describes the error status of this VI.
|
Description
This VI stops communication so that you can change the configuration of the task, such as by using CAN Set Property.vi or CAN Connect Terminals.vi. After you change the configuration, use CAN Start.vi to start again.
This VI does not clear the configuration for the task; therefore, do not use it as the last NI-CAN VI in the application. CAN Clear.vi must always be the last NI-CAN VI for each task.




