Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetConfigurationValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_configuration_type_t opMode, float64_t opValue) |
Sets various configuration values on a DLV module for a specified channel. Use naibrd_dl_configuration_type_t to select the specified configuration type to be written to the DLV module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetConfigurationValue (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_configuration_type_t opMode, float64_t *p_outopValue) |
Retrieves various configuration values on a DLV module for a specified channel. Use naibrd_dl_configuration_type_t to select the specified configuration type to be read from the DLV module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) |
Enables/disables status reporting for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable) |
Retrieves the enabled/disabled state of status reporting for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetWireMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_wire_mode_type_t mode) |
Sets the wire mode (4-wire or 2-wire) for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetWireMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_wire_mode_type_t *p_outmode) |
Retrieves the wire mode (4-wire or 2-wire) for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetOutputMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_vll_mode_type_t mode) |
Sets the output mode (ratio mode or fixed mode) for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetOutputMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_vll_mode_type_t *p_outmode) |
Retrieves the output mode (ratio mode or fixed mode) for the specified channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_floating_point_attributes_type_t attrType, float64_t attrValue) |
Sets the floating-point attribute value of the specified attribute type for the specified DLV channel. Valid attribute types are Position A Offset, Position B Offset, Position A Scale, and Position B Scale. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetFloatingPointAttributes (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_floating_point_attributes_type_t attrType, float64_t *p_outattrValue) |
Retrieves the floating-point attribute value of the specified attribute type for the specified DLV channel. Valid attribute types are Position A Offset, Position B Offset, Position A Scale, and Position B Scale. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetPowerSupplyState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_on_off_t setting) |
Sets the Power Supply State for the specified DLV channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetPowerSupplyState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_dl_on_off_t *p_outsetting) |
Retrieves the Power Supply State for the specified DLV channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetChanStatusEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t * | p_outenable ) |
Retrieves the enabled/disabled state of status reporting for the specified 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]). |
p_outenable | : (Output) 0 if channel status reporting is disabled or 1 if channel status reporting is enabled. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetConfigurationValue | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_configuration_type_t | opMode, | ||
float64_t * | p_outopValue ) |
Retrieves various configuration values on a DLV module for a specified channel. Use naibrd_dl_configuration_type_t to select the specified configuration type to be read from the DLV module.
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]). |
opMode | : (Input) Configuration type: refer to naibrd_dl_configuration_type_t definition. |
p_outopValue | : (Output) float64_t*: Value received from the module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetFloatingPointAttributes | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_floating_point_attributes_type_t | attrType, | ||
float64_t * | p_outattrValue ) |
Retrieves the floating-point attribute value of the specified attribute type for the specified DLV channel. Valid attribute types are Position A Offset, Position B Offset, Position A Scale, and Position B Scale.
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]). |
attrType | : (Input) Floating-Point Attribute Type: refer to naibrd_dl_floating_point_attributes_type_t definition. |
p_outattrValue | : (Output) Floating-Point Attribute Value read from module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetOutputMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_vll_mode_type_t * | p_outmode ) |
Retrieves the output mode (ratio mode or fixed mode) for the specified 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]). |
p_outmode | : (Output) 0 for ratio mode or 1 for fixed mode. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetPowerSupplyState | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_on_off_t * | p_outsetting ) |
Retrieves the Power Supply State for the specified DLV 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]). |
p_outsetting | : (Output) NAIBRD_DL_OFF or NAIBRD_DL_ON. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetWireMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_wire_mode_type_t * | p_outmode ) |
Retrieves the wire mode (4-wire or 2-wire) for the specified 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]). |
p_outmode | : (Output) 1 for 4-wire mode or 2 for 2-wire mode. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetChanStatusEnable | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
bool_t | enable ) |
Enables/disables status reporting for the specified 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) 0 to disable or 1 to enable channel status reporting. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetConfigurationValue | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_configuration_type_t | opMode, | ||
float64_t | opValue ) |
Sets various configuration values on a DLV module for a specified channel. Use naibrd_dl_configuration_type_t to select the specified configuration type to be written to the DLV module.
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]). |
opMode | : (Input) Configuration type: refer to naibrd_dl_configuration_type_t definition. |
opValue | : (Input) float64_t: Value used to set various configuration types for a specified channel of DLV module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetFloatingPointAttributes | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_floating_point_attributes_type_t | attrType, | ||
float64_t | attrValue ) |
Sets the floating-point attribute value of the specified attribute type for the specified DLV channel. Valid attribute types are Position A Offset, Position B Offset, Position A Scale, and Position B Scale.
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]). |
attrType | : (Input) Floating-Point Attribute Type: refer to naibrd_dl_floating_point_attributes_type_t definition. |
attrValue | : (Input) Floating-Point Attribute Value to set. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetOutputMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_vll_mode_type_t | mode ) |
Sets the output mode (ratio mode or fixed mode) for the specified 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]). |
mode | : (Input) 0 for ratio mode or 1 for fixed mode. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetPowerSupplyState | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_on_off_t | setting ) |
Sets the Power Supply State for the specified DLV 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]). |
setting | : (Input) NAIBRD_DL_OFF or NAIBRD_DL_ON. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetWireMode | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_dl_wire_mode_type_t | mode ) |
Sets the wire mode (4-wire or 2-wire) for the specified 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]). |
mode | : (Input) 1 for 4-wire mode or 2 for 2-wire mode. |