Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_SetPosition (int32_t cardIndex, int32_t module, int32_t channel, nai_dl_subchannel_t subchannel, float64_t position) |
Sets position on a DLV module for a specified subchannel and channel. Use nai_dl_subchannel_t to select the specified subchannel to be written to the DLV module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetPosition (int32_t cardIndex, int32_t module, int32_t channel, nai_dl_subchannel_t subchannel, float64_t *outPosition) |
Gets position on a DLV module from a specified subchannel and channel. Use nai_dl_subchannel_t to select the specified subchannel to be read from the DLV module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetMeasuredValue (int32_t cardIndex, int32_t module, int32_t channel, nai_dl_measured_value_type_t opMode, float64_t *opValue) |
Gets a measured value for the specified DLV channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_dl_status_type_t statusType, nai_dl_module_status_t *outStatus) |
Retrieves the module status for a specific channel from the DLV module (retrieves the latched status for Gen 5 modules). | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_ClearStatus (int32_t cardIndex, int32_t module, int32_t channel, nai_dl_status_type_t statusType) |
Clears the module status for a specific channel from the DLV module (clears the latched status for Gen 5 modules). | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DL_GetStatusRealtime (int32_t cardIndex, int32_t module, int32_t channel, nai_dl_status_type_t statusType, nai_dl_module_status_t *outStatus) |
Retrieves the module realtime status for a specific channel from the DLV module (used for Gen5 modules only). | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_ClearStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dl_status_type_t | statusType ) |
Clears the module status for a specific channel from the DLV module (clears the latched status for Gen 5 modules).
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]). |
statusType | : (Input) Refer to nai_dl_status_type_t definitions. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetMeasuredValue | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dl_measured_value_type_t | opMode, | ||
float64_t * | opValue ) |
Gets a measured value 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]). |
opMode | : (Input) refer to nai_dl_measured_value_type_t definitions. |
opValue | : (Output) float64_t: Returns a measured value from a specified channel of DLV module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetPosition | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dl_subchannel_t | subchannel, | ||
float64_t * | outPosition ) |
Gets position on a DLV module from a specified subchannel and channel. Use nai_dl_subchannel_t to select the specified subchannel 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]). |
subchannel | : (Input) Subchannel: refer to nai_dl_subchannel_t definitions. |
outPosition | : (Output) float64_t: Returns position from a specified channel of DLV module. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dl_status_type_t | statusType, | ||
nai_dl_module_status_t * | outStatus ) |
Retrieves the module status for a specific channel from the DLV module (retrieves the latched status for Gen 5 modules).
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]). |
statusType | : (Input) Refer to nai_dl_status_type_t definitions. |
outStatus | : (Output) nai_dl_module_status_t: Return module status (0=good, 1=bad). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_GetStatusRealtime | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dl_status_type_t | statusType, | ||
nai_dl_module_status_t * | outStatus ) |
Retrieves the module realtime status for a specific channel from the DLV module (used for Gen5 modules only).
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]). |
statusType | : (Input) Refer to nai_dl_status_type_t definitions. |
outStatus | : (Output) nai_dl_module_status_t: Return module status (0=good, 1=bad). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_DL_SetPosition | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_dl_subchannel_t | subchannel, | ||
float64_t | position ) |
Sets position on a DLV module for a specified subchannel and channel. Use nai_dl_subchannel_t to select the specified subchannel 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]). |
subchannel | : (Input) Subchannel: refer to Use nai_dl_subchannel_t definitions. |
position | : (Input) float64_t: Value used to set position for a specified channel of DLV module. |