Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_SetRaw (int32_t cardIndex, int32_t module, nai_sg_raw_t type, uint32_t rawdata) |
Sets the raw data value in the register associated to the register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetRaw (int32_t cardIndex, int32_t module, nai_sg_raw_t type, uint32_t *outrawdata) |
Retrieves the raw digital data value in the register associated to the register type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_SetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_sg_raw_channel_t type, uint32_t rawdata) |
Sets the raw data value in the register associated to the channel and register type specified. Note: values written to data output registers will have no effect; only the excitation voltage selection is valid. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetChannelRaw (int32_t cardIndex, int32_t module, int32_t channel, nai_sg_raw_channel_t type, uint32_t *outrawdata) |
Retrieves the raw data value in the register associated to the channel and register type specified. Note: Data format may be in floating point or signed integer, depending on the selection of the data type being accessed. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetStatusRaw (int32_t cardIndex, int32_t module, nai_sg_status_type_t type, uint32_t *outrawdata) |
Retrieves the raw status data value in the register associated to the status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_ClearStatusRaw (int32_t cardIndex, int32_t module, nai_sg_status_type_t type, uint32_t rawdata) |
Clears the bits set in the rawdata parameter in the status register associated to the status type specified. The status registers are bitmapped per channel, with the LSB corresponding to Channel 1 and the MSB corresponding to the max SG Channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_SetIntEnableRaw (int32_t cardIndex, int32_t module, nai_sg_status_type_t type, uint32_t rawdata) |
Sets the raw interrupt enable data value in the register associated to the status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetIntEnableRaw (int32_t cardIndex, int32_t module, nai_sg_status_type_t type, uint32_t *outrawdata) |
Retrieves the raw interrupt enable data value in the register associated to the status type specified. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_ClearStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_status_type_t | type, | ||
uint32_t | rawdata ) |
Clears the bits set in the rawdata parameter in the status register associated to the status type specified. The status registers are bitmapped per channel, with the LSB corresponding to Channel 1 and the MSB corresponding to the max SG 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]). |
type | : (Input) Status Type: refer to nai_sg_status_type_t definition. |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_sg_raw_channel_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw data value in the register associated to the channel and register type specified. Note: Data format may be in floating point or signed integer, depending on the selection of the data type being accessed.
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]). |
type | : (Input) Channel Register Type: refer to nai_sg_raw_channel_t type definition. |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetIntEnableRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_status_type_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw interrupt enable data value in the register associated to the status type specified.
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]). |
type | : (Input) Status Type: refer to nai_sg_status_type_t definition. |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_raw_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw digital data value in the register associated to the register type specified.
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]). |
type | : (Input) Module Register Type: refer to nai_sg_raw_module_t definition. |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetStatusRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_status_type_t | type, | ||
uint32_t * | outrawdata ) |
Retrieves the raw status data value in the register associated to the status type specified.
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]). |
type | : (Input) Status Type: refer to nai_sg_status_type_t definition. |
outrawdata | : (Output) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_SetChannelRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
nai_sg_raw_channel_t | type, | ||
uint32_t | rawdata ) |
Sets the raw data value in the register associated to the channel and register type specified. Note: values written to data output registers will have no effect; only the excitation voltage selection is valid.
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]). |
type | : (Input) Channel Register Type: refer to nai_sg_raw_channel_t definition. |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_SetIntEnableRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_status_type_t | type, | ||
uint32_t | rawdata ) |
Sets the raw interrupt enable data value in the register associated to the status type specified.
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]). |
type | : (Input) Status Type: refer to nai_sg_status_type_t definition. |
rawdata | : (Input) Raw Data Code. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_SetRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_raw_t | type, | ||
uint32_t | rawdata ) |
Sets the raw data value in the register associated to the register type specified.
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]). |
type | : (Input) Module Register Type: refer to nai_sg_raw_module_t definition. |
rawdata | : (Input) Raw Data Code. |