CAN Write VI
- Updated2023-05-02
- 3 minute(s) read
CAN Write VI
Owning Palette: Embedded CAN for RIO VIs
Transmits a CAN frame to the bus.
When the Auto Start? property is TRUE, running this VI for the first time starts the interface automatically.
This VI is optimized for real-time performance and executes quickly to avoid access to shared resources that can induce jitter on other VI priorities.
CAN Write Details
This VI is asynchronous, in that data is written to a hardware queue (transmit queue), but the CAN Write VI returns before the corresponding frames are transmitted onto the bus. If you need to wait for the data to transmit onto the bus, use the CAN Wait (Transmit Complete) VI. The frame is removed from the transmit queue after the frame is transmitted successfully onto the bus.
Do not write to a full transmit queue. If a queue is already full, writing more data to the queue causes a Transmit Queue Full error.