Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetIOFormat (int32_t cardIndex, int32_t module, int32_t channel, nai_ttl_ioformat_t format) |
Sets the Input/Output configuration for the specified TTL channel. Default configuration for the channels is input. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetIOFormat (int32_t cardIndex, int32_t module, int32_t channel, nai_ttl_ioformat_t *outformat) |
Retrieves the Input/Output configuration for the specified TTL channel. Default configuration for the channels is input. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetOpMode (int32_t cardIndex, int32_t module, int32_t channel, nai_ttl_enhanced_mode_t mode) |
Sets the Operation mode for the specified TTL channel. Default power on configuration for the channels is 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_TTL_SetEnhanceTriggerEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ttl_enable_t enable) |
Sets operation to disabled or enabled for specified TTL channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetEnhanceTriggerEnable (int32_t cardIndex, int32_t module, int32_t channel, nai_ttl_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_TTL_GetOpMode (int32_t cardIndex, int32_t module, int32_t channel, nai_ttl_enhanced_mode_t *outmode) |
Retrieves the Operation mode for the specified TTL channel. Retrieves either Basic/Transceiver modes or other modes, depending whether the Transceiver mode is enabled. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetBankVCCSource (int32_t cardIndex, int32_t module, int32_t bank, nai_ttl_vcc_t source) |
Sets the Vcc source to internal or external for the specified TTL bank. Power on default is internal Vcc. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetBankVCCSource (int32_t cardIndex, int32_t module, int32_t bank, nai_ttl_vcc_t *outsource) |
Retrieves the Vcc source to internal or external for the specified TTL bank. Power on default is internal Vcc. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetBankVCCReading (int32_t cardIndex, int32_t module, int32_t bank, float64_t *outvoltage) |
Retrieves the Vcc voltage reading for the specified TTL bank, reading is returned in volts. This feature is only supported on X2 TTL modules and up. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetBankVCCReading | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
float64_t * | outvoltage ) |
Retrieves the Vcc voltage reading for the specified TTL bank, reading is returned in volts. This feature is only supported on X2 TTL modules and up.
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]). |
bank | : (Input) Number of the bank set(1 - [max banks for module]). |
outvoltage | : (Output) Available operation modes: NAI_TTL_VCC_EXTERNAL NAI_TTL_VCC_INTERNAL |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetBankVCCSource | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
nai_ttl_vcc_t * | outsource ) |
Retrieves the Vcc source to internal or external for the specified TTL bank. Power on default is internal Vcc.
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]). |
bank | : (Input) Number of the bank set(1 - [max banks for module]). |
outsource | : (Output) Available operation modes: NAI_TTL_VCC_EXTERNAL NAI_TTL_VCC_INTERNAL |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetEnhanceTriggerEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ttl_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_ttl_enable_t definitions. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetIOFormat | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ttl_ioformat_t * | outformat ) |
Retrieves the Input/Output configuration for the specified TTL 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_TTL_IOFORMAT_INPUT, NAI_TTL_GEN5_IOFORMAT_OUTPUT or NAI_TTL_GEN3_IOFORMAT_OUTPUT. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetOpMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ttl_enhanced_mode_t * | outmode ) |
Retrieves the Operation mode for the specified TTL channel. Retrieves either Basic/Transceiver modes or other modes, depending whether the 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_ttl_mode_t mode selections. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetBankVCCSource | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
nai_ttl_vcc_t | source ) |
Sets the Vcc source to internal or external for the specified TTL bank. Power on default is internal Vcc.
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]). |
bank | : (Input) Number of the bank set(1 - [max banks for module]). |
source | : (Input) Available operation modes: NAI_TTL_VCC_EXTERNAL NAI_TTL_VCC_INTERNAL |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetEnhanceTriggerEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ttl_enable_t | enable ) |
Sets operation to disabled or enabled for specified TTL 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_ttl_enable_t definitions. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetIOFormat | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ttl_ioformat_t | format ) |
Sets the Input/Output configuration for the specified TTL 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_TTL_IOFORMAT_INPUT, NAI_TTL_GEN5_IOFORMAT_OUTPUT or NAI_TTL_GEN3_IOFORMAT_OUTPUT. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetOpMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_ttl_enhanced_mode_t | mode ) |
Sets the Operation mode for the specified TTL channel. Default power on configuration for the channels is 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_ttl_mode_t mode selections. |