Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
can_xmit.c File Reference

Functions

static bool_t naiapp_Run_CAN_Transmit (int32_t cardIndex, int32_t module, uint32_t modId)
 CAN_Transmit lets you generate or read data from a file and transmit it on a particular can channel.
 
int32_t CAN_Transmit (void)
 The main routine assists in gaining access to the board.
 

Variables

static const int8_t * DEF_CONFIG_FILE = (int8_t *)"default_CANTx.txt"
 This sample application lets you select a channel from a Gen5 CAN module and transmit on it.
 

Function Documentation

◆ CAN_Transmit()

int32_t CAN_Transmit ( void )

The main routine assists in gaining access to the board.

The following routines from the nai_sys_cfg.c file are called to assist with accessing and configuring the board.

  • ConfigDevice
  • DisplayDeviceCfg
  • GetBoardSNModCfg
  • CheckModule

◆ naiapp_Run_CAN_Transmit()

static bool_t naiapp_Run_CAN_Transmit ( int32_t cardIndex,
int32_t module,
uint32_t modId )
static

CAN_Transmit lets you generate or read data from a file and transmit it on a particular can channel.

Variable Documentation

◆ DEF_CONFIG_FILE

const int8_t* DEF_CONFIG_FILE = (int8_t *)"default_CANTx.txt"
static

This sample application lets you select a channel from a Gen5 CAN module and transmit on it.