Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
Serial Asynchronous Transmit

Functions

void Run_SER_ASync_Tx (int32_t cardIndex, int32_t module)
 

Detailed Description

The purpose of the Serial Asynchronous Transmit sample application is to illustrate the methods to call in the naibrd library to configure a given serial channel for transmitting RS422. The Serial Asynchronous Receive application can be run in unison to this application to transmit data.

Note
A physical connection between channel 1 and channel 2 is required.

Function Documentation

◆ Run_SER_ASync_Tx()

void Run_SER_ASync_Tx ( int32_t cardIndex,
int32_t module )

Configures a serial module for asynchronous transmitting. The transmitting channel is hard-coded to channel #1.

Parameters
cardIndex(Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1).
module(Input) Module Number of the module to access (1 - [max modules for board]).