|  | Software Library API naibrd 1.62
    See all documentation at naii.docs.com | 
| Functions | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_ClockRate (int32_t cardIndex, int32_t module, int32_t channel, int32_t clockRate) | 
| Sets the SSI Clock rate for encoder serial clock speed in steps of 1uS. Range is configurable from steps of 1 to 32, value of 0 will stop SSI interface. In SSI listener mode clock rate setting is ignored and will be automatically detected. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_ClockRate (int32_t cardIndex, int32_t module, int32_t channel, int32_t *outclockRate) | 
| Gets the SSI Clock rate for encoder serial clock speed in steps of 1uS. Range is configurable from steps of 1 to 32, value of 0 will stop SSI interface. In SSI listener mode clock rate setting is ignored and will be automatically detected. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_ClockEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_enc_ssi_clock_t clockEdge) | 
| Sets the Clock Edge configuration for the specified Encoder channel. Channel can be configured to clock SSI data on rising or falling edges. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_ClockEdgeLevel (int32_t cardIndex, int32_t module, int32_t channel, nai_enc_ssi_clock_t *outclockEdge) | 
| Gets the Clock Edge configuration for the specified Encoder channel. Channel can be configured to clock SSI data on rising or falling edges. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_DataBits (int32_t cardIndex, int32_t module, int32_t channel, int32_t dataBits) | 
| Sets the number of data bits for the specified Encoder channel, configurable from 1 to 32. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_DataBits (int32_t cardIndex, int32_t module, int32_t channel, int32_t *outdataBits) | 
| Gets the number of data bits for the specified Encoder channel, configurable from 1 to 32. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_Parity (int32_t cardIndex, int32_t module, int32_t channel, nai_enc_ssi_parity_t parity) | 
| Sets the Parity configuration for the specified Encoder channel. Channel can be configured for odd or even parity. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_Parity (int32_t cardIndex, int32_t module, int32_t channel, nai_enc_ssi_parity_t *outParity) | 
| Gets the Parity configuration for the specified Encoder channel. Channel can be configured for odd or even parity. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_ParityEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) | 
| Enables or Disables Parity error detection for the specified Encoder channel. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_ParityEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outEnable) | 
| Retrieves Parity error detection Enabled/Disabled configuration for the specified Encoder channel. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_ErrorBreakEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) | 
| Set error break configuration for the specified encoder channel, break on read error if enabled and ignore read errors if disabled. This feature is only available in SSI listener configuration. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_ErrorBreakEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outEnable) | 
| Retrieves error break configuration for the specified encoder channel, break on read error if enabled and ignore read errors if disabled. This feature is only available in SSI listener mode. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_ZeroBitEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable) | 
| Set zero bit mode to enabled/disabled for the specified encoder channel. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_ZeroBitEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *outEnable) | 
| Retrieves zero bit mode configuration for the specified encoder channel, enabled or disabled. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_SetSSI_DwellCount (int32_t cardIndex, int32_t module, int32_t channel, int32_t dwellCount) | 
| Sets the SSI Dwell count for the specified encoder channel. Dwell count corresponds to number of bit cycles the clock will idle for after an SSI read. | |
| NAIBRDFUNC nai_status_t NAIAPI | naibrd_ENC_GetSSI_DwellCount (int32_t cardIndex, int32_t module, int32_t channel, int32_t *outdwellCount) | 
| Gets the SSI Dwell count for the specified encoder channel. Dwell count corresponds to number of bit cycles the clock will idle for after an SSI read. | |
 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_ClockEdgeLevel | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_enc_ssi_clock_t * | outclockEdge ) | 
Gets the Clock Edge configuration for the specified Encoder channel. Channel can be configured to clock SSI data on rising or falling edges.
| 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]). | 
| outclockEdge | : (Output) Mode Type: refer to nai_enc_ssi_clock_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_ClockRate | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| int32_t * | outclockRate ) | 
Gets the SSI Clock rate for encoder serial clock speed in steps of 1uS. Range is configurable from steps of 1 to 32, value of 0 will stop SSI interface. In SSI listener mode clock rate setting is ignored and will be automatically detected.
| 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]). | 
| outclockRate | : (Output) Clock Rate, steps of 1uS and configurable from 1 to 32. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_DataBits | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| int32_t * | outdataBits ) | 
Gets the number of data bits for the specified Encoder channel, configurable from 1 to 32.
| 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]). | 
| outdataBits | : (Output) Data bits, valid range from 1 to 32. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_DwellCount | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| int32_t * | outdwellCount ) | 
Gets the SSI Dwell count for the specified encoder channel. Dwell count corresponds to number of bit cycles the clock will idle for after an SSI read.
| 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]). | 
| outdwellCount | : (Output) Number of bit cycles to idle after SSI read. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_ErrorBreakEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| bool_t * | outEnable ) | 
Retrieves error break configuration for the specified encoder channel, break on read error if enabled and ignore read errors if disabled. This feature is only available in SSI listener mode.
| 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]). | 
| outEnable | : (Output) 0 = Disabled, 1 = Enabled. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_Parity | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_enc_ssi_parity_t * | outParity ) | 
Gets the Parity configuration for the specified Encoder channel. Channel can be configured for odd or even parity.
| 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]). | 
| outParity | : (Output) Parity Type: refer to nai_enc_ssi_parity_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_ParityEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| bool_t * | outEnable ) | 
Retrieves Parity error detection Enabled/Disabled configuration for the specified Encoder 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]). | 
| outEnable | : (Output) 0 = Disabled, 1 = Enabled. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_GetSSI_ZeroBitEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| bool_t * | outEnable ) | 
Retrieves zero bit mode configuration for the specified encoder channel, enabled or disabled.
| 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]). | 
| outEnable | : (Output) 0 = Disabled, 1 = Enabled. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_ClockEdgeLevel | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_enc_ssi_clock_t | clockEdge ) | 
Sets the Clock Edge configuration for the specified Encoder channel. Channel can be configured to clock SSI data on rising or falling edges.
| 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]). | 
| clockEdge | : (Input) Mode Type: refer to nai_enc_ssi_clock_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_ClockRate | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| int32_t | clockRate ) | 
Sets the SSI Clock rate for encoder serial clock speed in steps of 1uS. Range is configurable from steps of 1 to 32, value of 0 will stop SSI interface. In SSI listener mode clock rate setting is ignored and will be automatically detected.
| 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]). | 
| clockRate | : (Input) Clock Rate, steps of 1uS and configurable from 1 to 32. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_DataBits | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| int32_t | dataBits ) | 
Sets the number of data bits for the specified Encoder channel, configurable from 1 to 32.
| 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]). | 
| dataBits | : (Input) Data bits, valid range from 1 to 32. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_DwellCount | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| int32_t | dwellCount ) | 
Sets the SSI Dwell count for the specified encoder channel. Dwell count corresponds to number of bit cycles the clock will idle for after an SSI read.
| 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]). | 
| dwellCount | : (Input) Number of bit cycles to idle after SSI read. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_ErrorBreakEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| bool_t | enable ) | 
Set error break configuration for the specified encoder channel, break on read error if enabled and ignore read errors if disabled. This feature is only available in SSI listener configuration.
| 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]). | 
| enable | : (Input) 0 = Disabled, 1 = Enabled. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_Parity | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| nai_enc_ssi_parity_t | parity ) | 
Sets the Parity configuration for the specified Encoder channel. Channel can be configured for odd or even parity.
| 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]). | 
| parity | : (Input) Parity Type: refer to nai_enc_ssi_parity_t definition. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_ParityEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| bool_t | enable ) | 
Enables or Disables Parity error detection for the specified Encoder 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]). | 
| enable | : (Input) 0 = Disabled, 1 = Enabled. | 
| NAIBRDFUNC nai_status_t NAIAPI naibrd_ENC_SetSSI_ZeroBitEnable | ( | int32_t | cardIndex, | 
| int32_t | module, | ||
| int32_t | channel, | ||
| bool_t | enable ) | 
Set zero bit mode to enabled/disabled for the specified encoder 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]). | 
| enable | : (Input) 0 = Disabled, 1 = Enabled. |