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

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_chan_mapped_status_type_t type, bool_t statusintenab)
 Sets the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_chan_mapped_status_type_t type, bool_t *p_outstatusintenab)
 Retrieves the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_chan_mapped_status_type_t type, naibrd_int_trigger_type_t interruptType)
 Sets the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptTriggerType (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_chan_mapped_status_type_t type, naibrd_int_trigger_type_t *p_outinterruptType)
 Retrieves the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_rtd_chan_mapped_status_type_t type, uint32_t interruptvector)
 Sets the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptVector (int32_t cardIndex, int32_t module, naibrd_rtd_chan_mapped_status_type_t type, uint32_t *p_outinterruptvector)
 Retrieves the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_rtd_chan_mapped_status_type_t type, naibrd_int_steering_t steering)
 Sets the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptSteering (int32_t cardIndex, int32_t module, naibrd_rtd_chan_mapped_status_type_t type, naibrd_int_steering_t *p_outsteering)
 Retrieves the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_rtd_status_type_t type, uint32_t statusintenab)
 Sets the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_rtd_status_type_t type, uint32_t *p_outstatusintenab)
 Retrieves the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_rtd_status_type_t type, nai_rtd_interrupt_t interruptType)
 Sets the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_rtd_status_type_t type, nai_rtd_interrupt_t *p_outinterruptType)
 Retrieves the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptVector (int32_t cardIndex, int32_t module, nai_rtd_status_type_t type, uint32_t interruptvector)
 Sets the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptVector (int32_t cardIndex, int32_t module, nai_rtd_status_type_t type, uint32_t *p_outinterruptvector)
 Retrieves the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptSteering (int32_t cardIndex, int32_t module, nai_rtd_status_type_t type, naibrd_int_steering_t steering)
 Sets the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptSteering (int32_t cardIndex, int32_t module, nai_rtd_status_type_t type, naibrd_int_steering_t *p_outsteering)
 Retrieves the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.
 

Detailed Description

Function Documentation

◆ naibrd_RTD_GetChanMappedInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_chan_mapped_status_type_t type,
bool_t * p_outstatusintenab )

Retrieves the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outstatusintenab: (Output) 0 to disable, 1 to enable interrupt.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetChanMappedInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptSteering ( int32_t cardIndex,
int32_t module,
naibrd_rtd_chan_mapped_status_type_t type,
naibrd_int_steering_t * p_outsteering )

Retrieves the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outsteering: (Output) Interrupt Steering: refer to naibrd_int_steering_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetChanMappedInterruptTriggerType()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptTriggerType ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_chan_mapped_status_type_t type,
naibrd_int_trigger_type_t * p_outinterruptType )

Retrieves the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outinterruptType: (Output) Interrupt Trigger Type: refer to naibrd_int_trigger_type_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetChanMappedInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanMappedInterruptVector ( int32_t cardIndex,
int32_t module,
naibrd_rtd_chan_mapped_status_type_t type,
uint32_t * p_outinterruptvector )

Retrieves the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outinterruptvector: (Output) Interrupt vector.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetInterruptEdgeLevel()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptEdgeLevel ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_rtd_status_type_t type,
nai_rtd_interrupt_t * p_outinterruptType )

Retrieves the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outinterruptType: (Output) Interrupt Type: refer to nai_rtd_interrupt_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_rtd_status_type_t type,
uint32_t * p_outstatusintenab )

Retrieves the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outstatusintenab: (Output) 0 to disable, 1 to enable interrupt.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptSteering ( int32_t cardIndex,
int32_t module,
nai_rtd_status_type_t type,
naibrd_int_steering_t * p_outsteering )

Retrieves the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outsteering: (Output) Interrupt Steering: refer to naibrd_int_steering_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetInterruptVector ( int32_t cardIndex,
int32_t module,
nai_rtd_status_type_t type,
uint32_t * p_outinterruptvector )

Retrieves the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
p_outinterruptvector: (Output) Interrupt vector.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetChanMappedInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_chan_mapped_status_type_t type,
bool_t statusintenab )

Sets the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
statusintenab: (Input) 0 to disable, 1 to enable interrupt.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid statusintenab parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetChanMappedInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptSteering ( int32_t cardIndex,
int32_t module,
naibrd_rtd_chan_mapped_status_type_t type,
naibrd_int_steering_t steering )

Sets the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
steering: (Input) Interrupt Steering: refer to naibrd_int_steering_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid steering parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetChanMappedInterruptTriggerType()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptTriggerType ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_chan_mapped_status_type_t type,
naibrd_int_trigger_type_t interruptType )

Sets the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
interruptType: (Input) Interrupt Trigger Type: refer to naibrd_int_trigger_type_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid interruptType parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetChanMappedInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanMappedInterruptVector ( int32_t cardIndex,
int32_t module,
naibrd_rtd_chan_mapped_status_type_t type,
uint32_t interruptvector )

Sets the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
interruptvector: (Input) Interrupt vector.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetInterruptEdgeLevel()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptEdgeLevel ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_rtd_status_type_t type,
nai_rtd_interrupt_t interruptType )

Sets the Interrupt Edge/Level property for the specified channel and interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
interruptType: (Input) Interrupt Type: refer to nai_rtd_interrupt_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid interruptType parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetInterruptEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
nai_rtd_status_type_t type,
uint32_t statusintenab )

Sets the RTD Interrupt Enable state corresponding to the specified RTD Status type for the specified RTD channel. BIT Status and Open Status are part of the background testing. When the interrupt is enabled, a non-compliant channel will trigger an interrupt. By default, interrupts are disabled. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
channel: (Input) Channel Number of the channel to access (1 - [max channels for module]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
statusintenab: (Input) 0 to disable, 1 to enable interrupt.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid statusintenab parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetInterruptSteering()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptSteering ( int32_t cardIndex,
int32_t module,
nai_rtd_status_type_t type,
naibrd_int_steering_t steering )

Sets the Interrupt Steering, which indicates the interrupt direction, for the specified interrupt status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
steering: (Input) Interrupt Steering: refer to naibrd_int_steering_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter or invalid steering parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetInterruptVector()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetInterruptVector ( int32_t cardIndex,
int32_t module,
nai_rtd_status_type_t type,
uint32_t interruptvector )

Sets the RTD Interrupt Vector for the specified RTD module and RTD Status type. Module Summary Status: Feature supported in FPGA Version >= X.X.

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]).
type: (Input) Status Type: refer to naibrd_rtd_chan_mapped_status_type_t definition.
interruptvector: (Input) Interrupt vector.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid type parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.