Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_SetBankSourceSinkCurrent (int32_t cardIndex, int32_t module, int32_t bank, float64_t current) |
Sets Source/Sink Current configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_GetBankSourceSinkCurrent (int32_t cardIndex, int32_t module, int32_t bank, float64_t *p_outcurrent) |
Retrieves Source/Sink Current configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_SetBankSourceSinkCurrent_mA (int32_t cardIndex, int32_t module, int32_t bank, float64_t current_mA) |
Sets Source/Sink Current configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_GetBankSourceSinkCurrent_mA (int32_t cardIndex, int32_t module, int32_t bank, float64_t *p_outcurrent_mA) |
Retrieves Source/Sink Current configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_SetBankCurrentShareCfg (int32_t cardIndex, int32_t module, int32_t bank, nai_dt_cursharecfg_t config) |
Sets the current share configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_GetBankCurrentShareCfg (int32_t cardIndex, int32_t module, int32_t bank, nai_dt_cursharecfg_t *p_outconfig) |
Retrieves the current share configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_SetBankPullUpDownCfg (int32_t cardIndex, int32_t module, int32_t bank, nai_dt_pullconfig_t config) |
Sets the Pull-Up/Down Current Configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DT_GetBankPullUpDownCfg (int32_t cardIndex, int32_t module, int32_t bank, nai_dt_pullconfig_t *p_outconfig) |
Retrieves the Pull-Up/Down Current Configuration for the specified Discrete channel bank. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankCurrentShareCfg | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
nai_dt_cursharecfg_t * | p_outconfig ) |
Retrieves the current share configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
p_outconfig | : (Output) Current Share Cfg: NAI_DT_CURSHARECFG_NONE, NAI_DT_CURSHARECFG_SH12_IND34, NAI_DT_CURSHARECFG_SH123_IND4, NAI_DT_CURSHARECFG_SH34_IND12, NAI_DT_CURSHARECFG_SH12_SH34, or NAI_DT_CURSHARECFG_ALL |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankPullUpDownCfg | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
nai_dt_pullconfig_t * | p_outconfig ) |
Retrieves the Pull-Up/Down Current Configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
p_outconfig | : (Output) Pull-Up/Down Current Cfg: NAI_DT_PULLCONFIG_PULLUP or NAI_DT_PULLCONFIG_PULLDOWN. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankSourceSinkCurrent | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
float64_t * | p_outcurrent ) |
Retrieves Source/Sink Current configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
p_outcurrent | : (Output) Current (0 - 0.005) in Amps |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_GetBankSourceSinkCurrent_mA | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
float64_t * | p_outcurrent_mA ) |
Retrieves Source/Sink Current configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
p_outcurrent_mA | : (Output) Current (0 - 5) in milliAmps |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankCurrentShareCfg | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
nai_dt_cursharecfg_t | config ) |
Sets the current share configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
config | : (Input) Current Share Cfg: NAI_DT_CURSHARECFG_NONE, NAI_DT_CURSHARECFG_SH12_IND34, NAI_DT_CURSHARECFG_SH123_IND4, NAI_DT_CURSHARECFG_SH34_IND12, NAI_DT_CURSHARECFG_SH12_SH34, or NAI_DT_CURSHARECFG_ALL |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankPullUpDownCfg | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
nai_dt_pullconfig_t | config ) |
Sets the Pull-Up/Down Current Configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
config | : (Input) Pull-Up/Down Current Cfg: NAI_DT_PULLCONFIG_PULLUP or NAI_DT_PULLCONFIG_PULLDOWN. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankSourceSinkCurrent | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
float64_t | current ) |
Sets Source/Sink Current configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
current | : (Input) Current (0 - 0.005) in Amps |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DT_SetBankSourceSinkCurrent_mA | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | bank, | ||
float64_t | current_mA ) |
Sets Source/Sink Current configuration for the specified Discrete channel bank.
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) Channel Bank number (1 - [max channel banks for module]). |
current_mA | : (Input) Current (0 - 5) in milliAmps |