Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetPatternGenPeriod (int32_t cardIndex, int32_t module, int32_t channel, float64_t period_mS) |
Sets the period for the Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetPatternGenPeriod (int32_t cardIndex, int32_t module, int32_t channel, float64_t *outperiod_mS) |
Retrieves the period for the Pattern Generator for the specified TTL channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetPatternGenBuf (int32_t cardIndex, int32_t module, int32_t dataPatternLen, uint32_t *dataPattern) |
Sets the pattern for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetPatternGenBuf (int32_t cardIndex, int32_t module, int32_t dataPatternLen, uint32_t *dataPattern) |
Retrieves the pattern for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetPatternGenStartAddr (int32_t cardIndex, int32_t module, uint32_t startAddr) |
Sets the starting address to look at for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetPatternGenStartAddr (int32_t cardIndex, int32_t module, uint32_t *outstartAddr) |
Gets the starting address to look at for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetPatternGenEndAddr (int32_t cardIndex, int32_t module, uint32_t EndAddr) |
Sets the Ending address to look at for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetPatternGenEndAddr (int32_t cardIndex, int32_t module, uint32_t *outEndAddr) |
Gets the Ending address to look at for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetPatternGenCtrl (int32_t cardIndex, int32_t module, nai_ttl_pattern_ctrl_t controlBit, nai_ttl_enable_t state) |
Sets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetPatternGenCtrl (int32_t cardIndex, int32_t module, nai_ttl_pattern_ctrl_t controlBit, nai_ttl_enable_t *outstate) |
Gets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_SetPatternGenCtrlRaw (int32_t cardIndex, int32_t module, uint32_t controlRaw) |
Sets the control bits for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TTL_GetPatternGenCtrlRaw (int32_t cardIndex, int32_t module, uint32_t *outcontrolRaw) |
Retrieves the control bits for RAM Pattern Generator. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetPatternGenBuf | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | dataPatternLen, | ||
uint32_t * | dataPattern ) |
Retrieves the pattern for RAM Pattern Generator.
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]). |
dataPatternLen | : (Input) Length of buffer holding RAM Pattern . |
dataPattern | : (Input) Buffer holding RAM Pattern . |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetPatternGenCtrl | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_ttl_pattern_ctrl_t | controlBit, | ||
nai_ttl_enable_t * | outstate ) |
Gets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable.
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]). |
controlBit | : (Input) Bit Type: refer to nai_dt_pattern_ctrl_t definition. |
outstate | : (Input) Enable/Disable: refer to nai_dt_enable_t. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetPatternGenCtrlRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t * | outcontrolRaw ) |
Retrieves the control bits for RAM Pattern Generator.
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]). |
outcontrolRaw | : (Output) RAM Pattern control bits . |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetPatternGenEndAddr | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t * | outEndAddr ) |
Gets the Ending address to look at for RAM Pattern Generator.
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]). |
outEndAddr | : (Output) Ending Address to output RAM pattern generator data from. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetPatternGenPeriod | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
float64_t * | outperiod_mS ) |
Retrieves the period for the Pattern Generator for the specified TTL 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)Reserved parameter, not currently used. |
outperiod_mS | : (Output) Period in milliseconds valid from .000008mS to 34360mS . |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_GetPatternGenStartAddr | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t * | outstartAddr ) |
Gets the starting address to look at for RAM Pattern Generator.
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]). |
outstartAddr | : (Output) Starting Address to output RAM pattern generator data from. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetPatternGenBuf | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | dataPatternLen, | ||
uint32_t * | dataPattern ) |
Sets the pattern for RAM Pattern Generator.
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]). |
dataPatternLen | : (Input) Length of buffer holding RAM Pattern . |
dataPattern | : (Input) Buffer holding RAM Pattern . |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetPatternGenCtrl | ( | int32_t | cardIndex, |
int32_t | module, | ||
nai_ttl_pattern_ctrl_t | controlBit, | ||
nai_ttl_enable_t | state ) |
Sets the state for the RAM Pattern Generator for the selected control bit on the module. Options are enable and disable.
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]). |
controlBit | : (Input) Bit Type: refer to nai_dt_pattern_ctrl_t definition. |
state | : (Input) Enable/Disable: refer to nai_dt_enable_t. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetPatternGenCtrlRaw | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t | controlRaw ) |
Sets the control bits for RAM Pattern Generator.
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]). |
controlRaw | : (Input) RAM Pattern Control bits. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetPatternGenEndAddr | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t | EndAddr ) |
Sets the Ending address to look at for RAM Pattern Generator.
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]). |
EndAddr | : (Input) Ending Address to output RAM pattern generator data from. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetPatternGenPeriod | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
float64_t | period_mS ) |
Sets the period for the Pattern Generator.
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) Reserved parameter, not currently used. |
period_mS | : (Input) Period in milliseconds valid from .000008mS to 34360mS . |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TTL_SetPatternGenStartAddr | ( | int32_t | cardIndex, |
int32_t | module, | ||
uint32_t | startAddr ) |
Sets the starting address to look at for RAM Pattern Generator.
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]). |
startAddr | : (Input) Starting Address to output RAM pattern generator data from. |