Wait on Transmit Complete

CompactRIO Reference and Procedures (FPGA Interface)

Edition Date: June 2010

Part Number: 370984T-01

»View Product Info

Wait for all frames written to CAN Output to complete transmission. You typically use this to determine when all frames have been acknowledged.

If all transmits are complete before you call Wait (relative to the previous Wait), the current wait returns immediately. All transmits are considered complete after you first Start. This method returns an error if invoked while communication is stopped.

For step by step instructions to place this method in your LabVIEW FPGA VI block diagram, refer to the I/O Methods introduction.

Node Inputs

Error In

Optional. Not shown by default. To enable, right-click the node and select Error Terminals.

Timeout

Specifies the time to wait for the Transceiver Mode to change to Normal.

The resolution is in milliseconds.

The special Timeout of 0 is used to poll for transmit complete status. If all transmits are complete, the Timed Out? Boolean is FALSE. If one or more transmissions are pending (not successful or aborted), the Timed Out? Boolean is TRUE.

The Timeout value of –1 (infinite wait) is not supported, but you can use the largest positive I32 value, which provides a maximum of approximately 25 days.

Node Outputs

Error Out

Optional. Not shown by default. To enable, right-click the node and select Error Terminals.

Timed Out?

Indicates a timeout.

When Timed Out? is TRUE, the error cluster indicates success (not a timeout error).

WAS THIS ARTICLE HELPFUL?

Not Helpful