Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDigitalInput (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_level_t signalLevel) |
Set the IRIG digital input to either RS485 or RS232 when not using the analog IRIG signal. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDigitalInput (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_level_t *p_outsignalLevel) |
Gets the IRIG digital input signal level (RS485 or RS232). | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_SetDigitalLevel (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_type_t signalType, naibrd_irig_signal_level_t signalLevel) |
Set the IRIG digital output signal level for either RS485 or RS232. b0: IRIG Digital out: 1=RS485, 0=RS232 b1: 1PPS out, event in: 1=RS485, 0=RS232. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_IRIG_GetDigitalLevel (int32_t cardIndex, int32_t module, int32_t channel, naibrd_irig_signal_type_t signalType, naibrd_irig_signal_level_t *p_outsignalLevel) |
Gets the IRIG digital output signal level (RS485 or RS232). | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDigitalInput | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_signal_level_t * | p_outsignalLevel ) |
Gets the IRIG digital input signal level (RS485 or RS232).
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_outsignalLevel | : (Output) Input signal level (NAIBRD_IRIG_SIGNAL_LEVEL_RS232 or NAIBRD_IRIG_SIGNAL_LEVEL_RS485). |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_GetDigitalLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_signal_type_t | signalType, | ||
naibrd_irig_signal_level_t * | p_outsignalLevel ) |
Gets the IRIG digital output signal level (RS485 or RS232).
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]). |
signalType | : (Input) Signal Type: refer to naibrd_irig_signal_type_t definition. |
p_outsignalLevel | : (Output) NAIBRD_IRIG_SIGNAL_LEVEL_RS232 for RS-232, NAIBRD_IRIG_SIGNAL_LEVEL_RS485 for RS-485. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetDigitalInput | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_signal_level_t | signalLevel ) |
Set the IRIG digital input to either RS485 or RS232 when not using the analog IRIG signal.
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]). |
signalLevel | : (Input) NAIBRD_IRIG_SIGNAL_LEVEL_RS232 for RS-232, NAIBRD_IRIG_SIGNAL_LEVEL_RS485 for RS-485. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_IRIG_SetDigitalLevel | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_irig_signal_type_t | signalType, | ||
naibrd_irig_signal_level_t | signalLevel ) |
Set the IRIG digital output signal level for either RS485 or RS232. b0: IRIG Digital out: 1=RS485, 0=RS232 b1: 1PPS out, event in: 1=RS485, 0=RS232.
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]). |
signalType | : (Input) Signal Type: refer to naibrd_irig_signal_type_t definition. |
signalLevel | : (Input) NAIBRD_IRIG_SIGNAL_LEVEL_RS232 for RS-232, NAIBRD_IRIG_SIGNAL_LEVEL_RS485 for RS-485. |