Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_DA_GetFIFOCount (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *outcount) |
Retrieves the FIFO counter registers that indicate the number of data elements in the D/A channel's FIFO buffer. Each time a read operation is made to the D/A channel's FIFO Buffer, the corresponding FIFO counter register is decremented by one. The maximum number of items that can be stored in each D/A channel's FIFO is 26,213 (0x6665) for Gen3, DA1, DA3 and 1000000 DA2. | |
Please refer to the "DA Module Functions Map" document located in
"..\ssk1\Documentation\naibrd_Module_Support"
for the APIs that are supported for the D/A module configuration in your system.
NAIBRDFUNC nai_status_t NAIAPI naibrd_DA_GetFIFOCount | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | outcount ) |
Retrieves the FIFO counter registers that indicate the number of data elements in the D/A channel's FIFO buffer. Each time a read operation is made to the D/A channel's FIFO Buffer, the corresponding FIFO counter register is decremented by one. The maximum number of items that can be stored in each D/A channel's FIFO is 26,213 (0x6665) for Gen3, DA1, DA3 and 1000000 DA2.
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]). |
outcount | : (Output) Number of data elements in FIFO Buffer. |