Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetCaptureEventTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_time_t captureEventTimeStruct) |
Sets the Capture Event Time for the specified IRIG channel based on the values in the structure passed in. Write any value to reset the capture register. The format of each value in the structure is as follows: Hour: 0-255, Minute: 0-59, Second: 0-59, Tenth of Second: 0-9, Hundredth of Second: 0-9. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventTime (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_time_t *p_outcaptureEventTimeStruct) |
Retrieves the Capture Event Time for the specified IRIG channel. The format of each value in the structure is as follows: Hour: 0-255, Minute: 0-59, Second: 0-59, Tenth of Second: 0-9, Hundredth of Second: 0-9. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventTimeMSec (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outcaptureEventTimeMSec) |
Retrieves the Capture Event Time in milliseconds for the specified IRIG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventTimeFraction (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outcaptureEventTimeFraction) |
Retrieves the Capture Event Time Fraction of mSec for the specified IRIG channel. The LSB of the register is 8.33333 nsec. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetCaptureEventEdge (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_edge_type_t captureEventEdge) |
Sets the Capture Event Edge to Rising Edge or Falling Edge for the specified IRIG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventEdge (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_edge_type_t *p_outcaptureEventEdge) |
Retrieves the Capture Event Edge (Rising Edge or Falling Edge) for the specified IRIG channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetCaptureEventInputState (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_capture_event_input_state_type_t *p_outcaptureEventInputState) |
Retrieves the current Capture Event Input State for the specified IRIG channel. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetCaptureEventEdge | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_capture_event_edge_type_t * | p_outcaptureEventEdge ) |
Retrieves the Capture Event Edge (Rising Edge or Falling Edge) for the specified IRIG 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]). |
p_outcaptureEventEdge | : (Output) Rising Edge or Falling Edge: refer to naibrd_irig_capture_event_edge_type_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetCaptureEventInputState | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_capture_event_input_state_type_t * | p_outcaptureEventInputState ) |
Retrieves the current Capture Event Input State for the specified IRIG 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]). |
p_outcaptureEventInputState | : (Output) Input State: refer to naibrd_irig_capture_event_input_state_type_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetCaptureEventTime | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_capture_event_time_t * | p_outcaptureEventTimeStruct ) |
Retrieves the Capture Event Time for the specified IRIG channel. The format of each value in the structure is as follows: Hour: 0-255, Minute: 0-59, Second: 0-59, Tenth of Second: 0-9, Hundredth of Second: 0-9.
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]). |
p_outcaptureEventTimeStruct | : (Output) Structure of Capture Event Time Hour, Minute, Second, Tenth, and Hundredth. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetCaptureEventTimeFraction | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | p_outcaptureEventTimeFraction ) |
Retrieves the Capture Event Time Fraction of mSec for the specified IRIG channel. The LSB of the register is 8.33333 nsec.
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]). |
p_outcaptureEventTimeFraction | : (Output) Capture Event Time Fraction in units of 8.33333 nanoseconds. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetCaptureEventTimeMSec | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | p_outcaptureEventTimeMSec ) |
Retrieves the Capture Event Time in milliseconds for the specified IRIG 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]). |
p_outcaptureEventTimeMSec | : (Output) Capture Event Time milliseconds. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetCaptureEventEdge | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_capture_event_edge_type_t | captureEventEdge ) |
Sets the Capture Event Edge to Rising Edge or Falling Edge for the specified IRIG 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]). |
captureEventEdge | : (Input) Rising Edge or Falling Edge: refer to naibrd_irig_capture_event_edge_type_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetCaptureEventTime | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_capture_event_time_t | captureEventTimeStruct ) |
Sets the Capture Event Time for the specified IRIG channel based on the values in the structure passed in. Write any value to reset the capture register. The format of each value in the structure is as follows: Hour: 0-255, Minute: 0-59, Second: 0-59, Tenth of Second: 0-9, Hundredth of Second: 0-9.
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]). |
captureEventTimeStruct | : (Input) Structure of Capture Event Time Hour, Minute, Second, Tenth, and Hundredth to set. |