Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_SetIOFormat (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_ioformat_t format) |
Sets the Input/Output configuration for the specified DIF channel. Default configuration for the channels is input. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_GetIOFormat (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_ioformat_t *outformat) |
Retrieves the Input/Output configuration for the specified DIF channel. Default configuration for the channels is input. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_SetOpMode (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_enhanced_mode_t mode) |
Sets the Operation mode for the specified DIF channel. Default power on configuration for the channels is Enhanced Input. Selection of one of the basic modes will switch to transceiver (basic) mode operation with no signal processing. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_GetOpMode (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_enhanced_mode_t *outmode) |
Retrieves the Operation mode for the specified DIF channel. Retrieves either Basic/Transceiver modes or Enhanced modes, depending whether the Basic Transceiver mode is enabled. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_SetSlewRate (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_slewRate_t rate) |
Sets the slew rate for the specified DIF channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_GetSlewRate (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_slewRate_t *outrate) |
Retrieves the Output slewrate for the specified DIF channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_SetInputTermination (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_input_term_t InputTermination) |
Sets input termination of 120 ohms or >12k ohms (unterminated) for specified DIF channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_GetInputTermination (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_input_term_t *InputTermination) |
Retrieves the input termination configuration for specified DIF channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_SetEnhanceTriggerEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_enable_t enable) |
Sets enhanced operation to disabled or enabled for specified Discrete channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DIF_GetEnhanceTriggerEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_dif_enable_t *outenable) |
Retrieves the present enhance operation enable state for the specified Discrete channel. Power on default configuration for the channels is Enhanced Input. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_GetEnhanceTriggerEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_enable_t * | outenable ) |
Retrieves the present enhance operation enable state for the specified Discrete channel. Power on default configuration for the channels is Enhanced Input.
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]). |
outenable | : (Output) Refer to nai_DIF_enable_t definitions. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_GetInputTermination | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_input_term_t * | InputTermination ) |
Retrieves the input termination configuration for specified DIF channel.
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]). |
InputTermination | : (Output) NAI_DIF_INPUT_NOT_TERMINATED or NAI_DIF_INPUT_TERMINATED. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_GetIOFormat | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_ioformat_t * | outformat ) |
Retrieves the Input/Output configuration for the specified DIF channel. Default configuration for the channels is input.
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]). |
outformat | : (Output) NAI_DIF_GEN3_IOFORMAT_OUTPUT or NAI_DIF_GEN5_IOFORMAT_OUTPUT. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_GetOpMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_enhanced_mode_t * | outmode ) |
Retrieves the Operation mode for the specified DIF channel. Retrieves either Basic/Transceiver modes or Enhanced modes, depending whether the Basic Transceiver mode is enabled.
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]). |
outmode | : (Input) Available operation modes: Refer to nai_dif_enhanced_mode_t mode selections. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_GetSlewRate | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_slewRate_t * | outrate ) |
Retrieves the Output slewrate for the specified DIF channel.
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]). |
outrate | : (Output)Slew Rate: refer to nai_dif_slewRate_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_SetEnhanceTriggerEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_enable_t | enable ) |
Sets enhanced operation to disabled or enabled for specified Discrete channel.
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]). |
enable | : (Input) Refer to nai_DIF_enable_t definitions. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_SetInputTermination | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_input_term_t | InputTermination ) |
Sets input termination of 120 ohms or >12k ohms (unterminated) for specified DIF channel.
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]). |
InputTermination | : (Input) NAI_DIF_INPUT_NOT_TERMINATED or NAI_DIF_INPUT_TERMINATED. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_SetIOFormat | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_ioformat_t | format ) |
Sets the Input/Output configuration for the specified DIF channel. Default configuration for the channels is input.
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]). |
format | : (Input) NAI_DIF_IOFORMAT_INPUT or NAI_DIF_IOFORMAT_OUTPUT. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_SetOpMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_enhanced_mode_t | mode ) |
Sets the Operation mode for the specified DIF channel. Default power on configuration for the channels is Enhanced Input. Selection of one of the basic modes will switch to transceiver (basic) mode operation with no signal processing.
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]). |
mode | : (Input) Available operation modes: Refer to nai_dif_enhanced_mode_t mode selections. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DIF_SetSlewRate | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dif_slewRate_t | rate ) |
Sets the slew rate for the specified DIF channel.
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]). |
rate | : (Input)Slew Rate: refer to nai_dif_slewRate_t definition. |