Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_SetBitOpenInterval (int32_t cardIndex, int32_t module, uint32_t bitopeninterval) |
This function will set the BIT/OPEN Interval time word for all the SG Channels in the specified module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetBitOpenInterval (int32_t cardIndex, int32_t module, uint32_t *outbitopeninterval) |
This function will read the BIT/OPEN Interval time word for all the SG Channels in the specified module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_SetCalInterval (int32_t cardIndex, int32_t module, uint32_t calinterval) |
This function will set the background calibration interval time word for all the SG Channels in the specified module. This function is only supported by Generation 3 SG modules. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetCalInterval (int32_t cardIndex, int32_t module, uint32_t *outcalinterval) |
This function will read the background calibration interval time word for all the SG Channels in the specified module. This function is only supported by Generation 3 SG modules. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_SetCalType (int32_t cardIndex, int32_t module, nai_sg_cal_type_t caltype) |
This function will set the cal type selection for the specified module. Set per module (Applies to all channels in module). This function is only supported by Generation 3 SG modules. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_SG_GetCalType (int32_t cardIndex, int32_t module, nai_sg_cal_type_t *outcaltype) |
This function will read the cal type selection for the specified module. This function is only supported by Generation 3 SG modules. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetBitOpenInterval | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t * | outbitopeninterval ) |
This function will read the BIT/OPEN Interval time word for all the SG Channels in the specified module.
0 = Disable BIT/Open detection 20-65535 where LSB = 60ms. Minimum of 1.2s is required (20 LSB)
This function is only supported by Generation 3 SG 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]). |
outbitopeninterval | : (Output) A pointer to where the BIT/OPEN Interval value is returned. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetCalInterval | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t * | outcalinterval ) |
This function will read the background calibration interval time word for all the SG Channels in the specified module. This function is only supported by Generation 3 SG 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]). |
outcalinterval | : (Output) A pointer to where the CalInterval value is returned. D15-D0 = Time between succesive background calibrations. LSB = 60ms. Minimum of 1.2s is required (20 LSB). Writing "FFFF" to this register forces an imediate background calibration. When the background calibration is finished, this register will return to "0000". |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_GetCalType | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_cal_type_t * | outcaltype ) |
This function will read the cal type selection for the specified module. This function is only supported by Generation 3 SG 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]). |
outcaltype | : (Output) A pointer to where the CalType value is returned. Cal Types- CAL_OFF 0x00 CAL_INT_ZERO_INT_FULL 0x03 CAL_SYS_ZERO_SCALE 0x07 CAL_SYS_FULL_SCALE 0x0B |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_SetBitOpenInterval | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t | bitopeninterval ) |
This function will set the BIT/OPEN Interval time word for all the SG Channels in the specified module.
0 = Disable BIT/Open detection 20-65535 where LSB = 60ms. Minimum of 1.2s is required (20 LSB)
This function is only supported by Generation 3 SG 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]). |
bitopeninterval | : (Input) D15-D0 = Time between succesive BIT/OPEN detection tests. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_SetCalInterval | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t | calinterval ) |
This function will set the background calibration interval time word for all the SG Channels in the specified module. This function is only supported by Generation 3 SG 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]). |
calinterval | : (Input) D15-D0 = Time between succesive background calibrations. The interval represented by the LSB is 256 times the data rate interval. e.g. a setting of 1 with a data rate of 100Hz will set the periodic cal interval for 1/100 seconds x 256 = 2.56 seconds Writing "FFFF" to this register forces an imediate background calibration. When the background calibration is finished, this register will return to "0000". |
NAIBRDFUNC nai_status_t NAIAPI naibrd_SG_SetCalType | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_sg_cal_type_t | caltype ) |
This function will set the cal type selection for the specified module. Set per module (Applies to all channels in module). This function is only supported by Generation 3 SG 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]). |
caltype | : (Input) refer to nai_sg_cal_type_t definition. |