![]() |
Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
Functions | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TC_GetVoltage (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outVoltage) |
Retrieves the voltage measurement for the specified TC channel. The raw data reading is 32 bits formatted as IEEE 754 Single Precision Floating Point. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TC_GetAllVoltages (int32_t cardIndex, int32_t module, int32_t arraysize, float64_t outVoltages[]) |
Retrieves all the voltage measurements for the specified TC module. The raw data reading is 32 bits formatted as IEEE 754 Single Precision Floating Point. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TC_GetTemperature (int32_t cardIndex, int32_t module, int32_t channel, naibrd_tc_temperature_type_t tempType, float64_t *p_outTemperature) |
Retrieves the temperature measurement in either fahrenheit or celsius for the specified TC channel. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TC_GetAllTemperatures (int32_t cardIndex, int32_t module, naibrd_tc_temperature_type_t tempType, int32_t arraysize, float64_t outTemperatures[]) |
Retrieves all the temperature measurement in either fahrenheit or celsius for the specified TC module. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TC_GetChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_tc_chan_mapped_status_type_t type, nai_status_bit_t *p_outStatus) |
Retrieves the status for the specified TC channel and status type. | |
NAIBRDFUNC nai_status_t NAIAPI | naibrd_TC_ClearChanMappedStatus (int32_t cardIndex, int32_t module, int32_t channel, naibrd_tc_chan_mapped_status_type_t type) |
Clears the latched status for the specified channel and status type. | |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TC_ClearChanMappedStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_tc_chan_mapped_status_type_t | type ) |
Clears the latched status for the specified channel and status type.
Note: The background BIT test runs at intervals of up to 2 minutes, and the BIT Status is only updated at these intervals.
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]). |
type | : (Input) Status Type: refer to naibrd_tc_channel_mapped_status_type definition. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TC_GetAllTemperatures | ( | int32_t | cardIndex, |
int32_t | module, | ||
naibrd_tc_temperature_type_t | tempType, | ||
int32_t | arraysize, | ||
float64_t | outTemperatures[] ) |
Retrieves all the temperature measurement in either fahrenheit or celsius for the specified TC module.
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]). |
tempType | : (Input) Temperature Type: refer to nai_rts_temperature_type_t definition. |
arraysize | : (Input) Size of the p_outvoltage array. If specified size is less than max channels, the voltages returned will be for channel 1 to size. |
outTemperatures | : (Output) Temperature reading in celsius for all channels. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TC_GetAllVoltages | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | arraysize, | ||
float64_t | outVoltages[] ) |
Retrieves all the voltage measurements for the specified TC module. The raw data reading is 32 bits formatted as IEEE 754 Single Precision Floating Point.
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]). |
arraysize | : (Input) Size of the p_outVoltage array. If specified size is less than max channels, the voltages returned will be for channel 1 to size. |
outVoltages | : (Output) Voltage reading in volts for all channels. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TC_GetChanMappedStatus | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_tc_chan_mapped_status_type_t | type, | ||
nai_status_bit_t * | p_outStatus ) |
Retrieves the status for the specified TC channel and status type.
Note: The background BIT test runs at intervals of up to 2 minutes, and the BIT Status is only updated at these intervals.
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]). |
type | : (Input) Status Type: refer to naibrd_tc_channel_mapped_status_type definition |
p_outStatus | : (Output) A pointer to where the status is returned. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TC_GetTemperature | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
naibrd_tc_temperature_type_t | tempType, | ||
float64_t * | p_outTemperature ) |
Retrieves the temperature measurement in either fahrenheit or celsius for the specified TC 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]). |
tempType | : (Input) Temperature Type: refer to nai_rts_temperature_type_t definition. |
channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). |
p_outTemperature | : (Output) Temperature reading in celsius or fahrenheit. |
NAIBRDFUNC nai_status_t NAIAPI naibrd_TC_GetVoltage | ( | int32_t | cardIndex, |
int32_t | module, | ||
int32_t | channel, | ||
float64_t * | p_outVoltage ) |
Retrieves the voltage measurement for the specified TC channel. The raw data reading is 32 bits formatted as IEEE 754 Single Precision Floating Point.
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_outVoltage | : (Output) Voltage reading in volts. |