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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_TransmitBuffer (int32_t cardIndex, int32_t module, int32_t channel, int32_t msglen, uint32_t *p_msgbuf, int32_t *p_outmsglen)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_ReadFifo (int32_t cardIndex, int32_t module, int32_t channel, bool_t timeStampEnabled, uint32_t msglen, uint32_t *p_outstatus, uint32_t *p_outdata, uint32_t *p_outtimestamp, int32_t *p_outnummsgs)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetRxBufferCnt (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outcount)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_status_type_t type, nai_ar_status_t *p_outstatusword)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_status_t statusword)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetBITStatus (int32_t cardIndex, int32_t module, nai_ar_status_type_t type, uint32_t *p_outstatusword)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_ClearBITStatus (int32_t cardIndex, int32_t module, nai_ar_bit_status_t statusword)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetDataRate (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_datarate_t datarate)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetDataRate (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_datarate_t *p_outdatarate)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetParityAsData (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_parity_t parityasdata)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetParityAsData (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_parity_t *p_outparityasdata)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetBITdisable (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_bit_disable_t BITdisable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetBITdisable (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_bit_disable_t *p_outBITdisable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetRxMode (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_rx_mode_t rxmode)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetRxMode (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_rx_mode_t *p_outrxmode)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetRxStoreErrorDisable (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_store_on_error_disable_t storedisable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetRxStoreErrorDisable (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_store_on_error_disable_t *p_outstoredisable)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetTxIntervalRate (int32_t cardIndex, int32_t module, int32_t channel, int32_t txrate)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetTxIntervalRate (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outtxrate)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetTxSendMode (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_tx_mode_t txsendmode)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetTxSendMode (int32_t cardIndex, int32_t module, int32_t channel, nai_ar_tx_mode_t *p_outtxsendmode)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetTimeStampRsln (int32_t cardIndex, int32_t module, nai_ar_tstamp_t resolution)
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetTimeStampRsln (int32_t cardIndex, int32_t module, nai_ar_tstamp_t *p_outresolution)
 

Function Documentation

◆ naibrd_AR_ClearBITStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_ClearBITStatus ( int32_t cardIndex,
int32_t module,
nai_ar_bit_status_t statusword )

This function is deprecated and calls naibrd_AR_ClearBITStatusWord

◆ naibrd_AR_ClearStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_ClearStatus ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_status_t statusword )

This function is deprecated and calls naibrd_AR_ClearChannelStatus

◆ naibrd_AR_GetBITdisable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetBITdisable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_bit_disable_t * p_outBITdisable )

This function is not supported but returns NAI_SUCCESS for backward compatibility

◆ naibrd_AR_GetBITStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetBITStatus ( int32_t cardIndex,
int32_t module,
nai_ar_status_type_t type,
uint32_t * p_outstatusword )

This function is deprecated and calls naibrd_AR_GetBITStatusWord

◆ naibrd_AR_GetDataRate()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetDataRate ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_datarate_t * p_outdatarate )

This function is deprecated and calls naibrd_AR_GetBaudRate

◆ naibrd_AR_GetParityAsData()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetParityAsData ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_parity_t * p_outparityasdata )

This function is deprecated and calls naibrd_AR_GetParityBitUsage

◆ naibrd_AR_GetRxBufferCnt()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetRxBufferCnt ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outcount )

This function is deprecated and calls naibrd_AR_GetRxFifoCnt

◆ naibrd_AR_GetRxMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetRxMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_rx_mode_t * p_outrxmode )

This function is deprecated and calls naibrd_AR_GetReceiveMode

◆ naibrd_AR_GetRxStoreErrorDisable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetRxStoreErrorDisable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_store_on_error_disable_t * p_outstoredisable )

This function is deprecated and calls naibrd_AR_GetRxStoreOnErrorDisable

◆ naibrd_AR_GetStatus()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetStatus ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_status_type_t type,
nai_ar_status_t * p_outstatusword )

This function is deprecated and calls naibrd_AR_GetChannelStatus

◆ naibrd_AR_GetTimeStampRsln()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetTimeStampRsln ( int32_t cardIndex,
int32_t module,
nai_ar_tstamp_t * p_outresolution )

This function is deprecated and calls naibrd_AR_GetTimeStampResolution

◆ naibrd_AR_GetTxIntervalRate()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetTxIntervalRate ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t * p_outtxrate )

This function is deprecated and calls naibrd_AR_GetTxGapTime

◆ naibrd_AR_GetTxSendMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_GetTxSendMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_tx_mode_t * p_outtxsendmode )

This function is deprecated and calls naibrd_AR_GetTransmitSendMode

◆ naibrd_AR_ReadFifo()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_ReadFifo ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t timeStampEnabled,
uint32_t msglen,
uint32_t * p_outstatus,
uint32_t * p_outdata,
uint32_t * p_outtimestamp,
int32_t * p_outnummsgs )

This function is deprecated and calls naibrd_AR_ReadRxFifo

◆ naibrd_AR_SetBITdisable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetBITdisable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_bit_disable_t BITdisable )

This function is not supported but returns NAI_SUCCESS for backward compatibility

◆ naibrd_AR_SetDataRate()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetDataRate ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_datarate_t datarate )

This function is deprecated and calls naibrd_AR_SetBaudRate

◆ naibrd_AR_SetParityAsData()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetParityAsData ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_parity_t parityasdata )

This function is deprecated and calls naibrd_AR_SetParityBitUsage

◆ naibrd_AR_SetRxMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetRxMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_rx_mode_t rxmode )

This function is deprecated and calls naibrd_AR_SetReceiveMode

◆ naibrd_AR_SetRxStoreErrorDisable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetRxStoreErrorDisable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_store_on_error_disable_t storedisable )

This function is deprecated and calls naibrd_AR_SetRxStoreOnErrorDisable

◆ naibrd_AR_SetTimeStampRsln()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetTimeStampRsln ( int32_t cardIndex,
int32_t module,
nai_ar_tstamp_t resolution )

This function is deprecated and calls naibrd_AR_SetTimeStampResolution

◆ naibrd_AR_SetTxIntervalRate()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetTxIntervalRate ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t txrate )

This function is deprecated and calls naibrd_AR_SetTxGapTime

◆ naibrd_AR_SetTxSendMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_SetTxSendMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_ar_tx_mode_t txsendmode )

This function is deprecated and calls naibrd_AR_SetTransmitSendMode

◆ naibrd_AR_TransmitBuffer()

NAIBRDFUNC nai_status_t NAIAPI naibrd_AR_TransmitBuffer ( int32_t cardIndex,
int32_t module,
int32_t channel,
int32_t msglen,
uint32_t * p_msgbuf,
int32_t * p_outmsglen )

This function is deprecated and calls naibrd_AR_LoadTxFifo