Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_status_type_t *p_outstatus) |
Retrieves the DST (Daylight Savings Time) status from the master time. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDSTOffset (int32_t cardIndex, int32_t module, int32_t channel, uint32_t dstOffset) |
Sets the DST (Daylight Savings Time) Offset. This is the DST adjustment to be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTOffset (int32_t cardIndex, int32_t module, int32_t channel, uint32_t *p_outdstOffset) |
Gets the DST (Daylight Savings Time) Offset. This is the DST adjustment to be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDSTStart (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t irigDSTInfoStruct) |
Sets the DST (Daylight Savings Time) Start Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTStart (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t *p_outirigDSTInfoStruct) |
Gets the DST (Daylight Savings Time) Start Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDSTEnd (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t irigDSTInfoStruct) |
Sets the DST (Daylight Savings Time) End Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDSTEnd (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_dst_timer_info_t *p_outirigDSTInfoStruct) |
Gets the DST (Daylight Savings Time) End Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDclsPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
Set the Number of ticks to be added to or subtracted from received IRIG DCLS reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDclsPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
Get the number of ticks added to or subtracted from received IRIG DCLS reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModeAPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
Set the Number of ticks to be added to or subtracted from received IRIG AM Mode A reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModeAPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
Get the number of ticks added to or subtracted from received IRIG AM Mode A reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModeBPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
Set the Number of ticks to be added to or subtracted from received IRIG AM Mode B reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModeBPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
Get the number of ticks added to or subtracted from received IRIG AM Mode B reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetModeGPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t propOffset) |
Set the Number of ticks to be added to or subtracted from received IRIG AM Mode G reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetModeGPropOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outPropOffset) |
Get the number of ticks added to or subtracted from received IRIG AM Mode G reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999) | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetTimeZoneOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t timeZoneOffset) |
Set the Number of minutes to be added to or subtracted from received IRIG reference time to accommodate time zone differences. Range : +/-1439 To be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetTimeZoneOffset (int32_t cardIndex, int32_t module, int32_t channel, int32_t *p_outTimeZoneOffset) |
Get the number of minutes added to or subtracted from received IRIG reference time to accommodate time zone differences. Range : +/-1439. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDclsPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t * | p_outPropOffset ) |
Get the number of ticks added to or subtracted from received IRIG DCLS reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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_outPropOffset | : (Output) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDSTEnd | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_dst_timer_info_t * | p_outirigDSTInfoStruct ) |
Gets the DST (Daylight Savings Time) End Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
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_outirigDSTInfoStruct | : (Output) Structure of DST End Month, Day, Week, Hour, and Minute. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDSTOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t * | p_outdstOffset ) |
Gets the DST (Daylight Savings Time) Offset. This is the DST adjustment to be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA.
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_outdstOffset | : (Output) DST Offset in HMM to be added to reference time. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDSTStart | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_dst_timer_info_t * | p_outirigDSTInfoStruct ) |
Gets the DST (Daylight Savings Time) Start Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
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_outirigDSTInfoStruct | : (Output) Structure of DST Start Month, Day, Week, Hour, and Minute. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDSTStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_dst_status_type_t * | p_outstatus ) |
Retrieves the DST (Daylight Savings Time) status from the master time.
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_outstatus | : (Output) IRIG DST Status: refer to naibrd_irig_dst_status_type_t definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetModeAPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t * | p_outPropOffset ) |
Get the number of ticks added to or subtracted from received IRIG AM Mode A reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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_outPropOffset | : (Output) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetModeBPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t * | p_outPropOffset ) |
Get the number of ticks added to or subtracted from received IRIG AM Mode B reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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_outPropOffset | : (Output) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetModeGPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t * | p_outPropOffset ) |
Get the number of ticks added to or subtracted from received IRIG AM Mode G reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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_outPropOffset | : (Output) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetTimeZoneOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t * | p_outTimeZoneOffset ) |
Get the number of minutes added to or subtracted from received IRIG reference time to accommodate time zone differences. Range : +/-1439.
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_outTimeZoneOffset | : (Output) Time Zone Offset (valid range: -1439 to 1439). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetDclsPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t | propOffset ) |
Set the Number of ticks to be added to or subtracted from received IRIG DCLS reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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]). |
propOffset | : (Input) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetDSTEnd | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_dst_timer_info_t | irigDSTInfoStruct ) |
Sets the DST (Daylight Savings Time) End Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
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]). |
irigDSTInfoStruct | : (Input) Structure of DST End Month, Day, Week, Hour, and Minute to set. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetDSTOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
uint32_t | dstOffset ) |
Sets the DST (Daylight Savings Time) Offset. This is the DST adjustment to be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA.
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]). |
dstOffset | : (Input) DST Offset in HMM to be added to reference time. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetDSTStart | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_dst_timer_info_t | irigDSTInfoStruct ) |
Sets the DST (Daylight Savings Time) Start Time based on the values in the structure passed in. The format of each value in the structure is as follows: Month: 1-12, Day: 0-6; 0=Sunday, Week: 1-5, Hour: 0-23, Minute: 0-59.
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]). |
irigDSTInfoStruct | : (Input) Structure of DST Start Month, Day, Week, Hour, and Minute to set. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetModeAPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t | propOffset ) |
Set the Number of ticks to be added to or subtracted from received IRIG AM Mode A reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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]). |
propOffset | : (Input) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetModeBPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t | propOffset ) |
Set the Number of ticks to be added to or subtracted from received IRIG AM Mode B reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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]). |
propOffset | : (Input) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetModeGPropOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t | propOffset ) |
Set the Number of ticks to be added to or subtracted from received IRIG AM Mode G reference pulse time (positive = set in the future, negative = set in the past). Range : +/-10.0 seconds (-1199999999 to 1199999999)
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]). |
propOffset | : (Input) Propagation Offset (valid range: -1199999999 to 1199999999). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetTimeZoneOffset | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
int32_t | timeZoneOffset ) |
Set the Number of minutes to be added to or subtracted from received IRIG reference time to accommodate time zone differences. Range : +/-1439 To be added to the master time. BCD adjustment in hmm of hours/minutes. Write 0 to disable DST. Use 0x00000100 in the USA.
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]). |
timeZoneOffset | : (Input) Time Zone Offset (valid range: -1439 to 1439). |