MX Foundation 4
Aperiodic Transmission

In aperiodic mode the user application is in complete control of the transmission.

The mxfCanBusTxAperiodicWrite() function is used to send a FIFO buffer containing one or many CAN records.

After the application is initialized and the channel is set, the application must allocate a buffer for the MXF_CANBUS_DATAREC record objects. The CAN bytes are stored in the data field. CAN ID is set in the id field. Other CAN information (DLC, RTR, Extended) are set in the info field.

The transmit timing is controlled by the record timeTag field in conjunction with the startTime parameter of the function mxfCanBusTxAperiodicWrite().

The aperiodic modes of transmission can be defined as follows:

Basic Transmission

In this mode, a relative start time can be specified to send the records. The records are then sent back-to-back. The record's time tag can't be used.

Transmission with Absolute Timing

In this mode, an absolute start time is specified to send the records. The records are then sent back-to-back. The record's time tag can't be used.

Transmission with Record Timing

In this mode, each record's time tag is set in the future (in sequence) for the transmission of the records. The start time can't be used with this option.

Transmission with Record Relative Timing

With this method, the records' time tag specify the relative time between each records for transmission. The start time can't be used with this option.

Updated 10/23/2023