Software Library API naibrd 2.24.0
See all documentation at naii.docs.com

Functions

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t enable)
 Enables/disables status reporting for the specified RTD channel. Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanStatusEnable (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outenable)
 Retrieves the enabled/disabled state of status reporting for the specified RTD channel. Feature supported in FPGA Version >= X.X.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetZeroTempResistance (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_zero_temp_resistance_type_t zeroTempResistance)
 NOTE: This API is deprecated for RT1, please use extended function naibrd_RTD_SetZeroTempResistanceEx instead. Sets the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetZeroTempResistance (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_zero_temp_resistance_type_t *p_outZeroTempResistance)
 NOTE: This API is deprecated for RT1, please use extended function naibrd_RTD_GetZeroTempResistanceEx instead. Retrieves the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetZeroTempResistanceEx (int32_t cardIndex, int32_t module, int32_t channel, float64_t zeroTempResistance)
 Sets the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetZeroTempResistanceEx (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outZeroTempResistance)
 Retrieves the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetWireMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_wire_mode_t wiremode)
 Sets the RTD wire mode configuration for the specified RTD channel as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetWireMode (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_wire_mode_t *p_outwiremode)
 Retrieves the RTD wire mode configuration for the specified RTD channel as follows:
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetCompResistance (int32_t cardIndex, int32_t module, int32_t channel, float64_t resistance)
 Sets the 2-wire resistance compensation. Used only when the specified RTD channel is set for 2-wire mode. This value represents the TOTAL lead resistance and is subtracted from the resistance measurement when the channel is set for 2-wire mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetCompResistance (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outresistance)
 Retrieves the 2-wire resistance compensation. Used only when the specified RTD channel is set for 2-wire mode. This value represents the TOTAL lead resistance and is subtracted from the resistance measurement when the channel is set for 2-wire mode.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetSampleRate (int32_t cardIndex, int32_t module, int32_t channel, float64_t sampleRate)
 Sets the measurement sample rate for the specified RTD channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetSampleRate (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outsampleRate)
 Retrieves the measurement sample rate for the specified RTD channel.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetConfiguration (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_config_type_t configType)
 Sets the configuration for the specified channel as RTD or TC(Thermocouple), only applicable for TR1 module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetConfiguration (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_config_type_t *p_outConfigType)
 Retrieves the configuration for the specified channel, only applicable for TR1 module.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetOffsetTemperature (int32_t cardIndex, int32_t module, int32_t channel, float64_t offsetTemperature)
 Sets the RTD offset temperature for the specified RTD channel. The offset temperature is in degrees Celsius and is subtracted from the output temperature degrees Celsius reading. The result of the subtraction is also reflected in the output temperature degrees Fahrenheit reading.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetOffsetTemperature (int32_t cardIndex, int32_t module, int32_t channel, float64_t *p_outOffsetTemperature)
 Retrieves the RTD offset temperature for the specified RTD channel. The offset temperature is in degrees Celsius and is subtracted from the output temperature degrees Celsius reading. The result of the subtraction is also reflected in the output temperature degrees Fahrenheit reading.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetBackgroundOpSuspend (int32_t cardIndex, int32_t module, int32_t channel, bool_t disable)
 Sets the bit corresponding to the specified RTD channel in the suspend background operation register. Writing a 1 to the bit suspends the BIT and Open-Line tests, and writing a 0 re-enables them to run at the regular 30 second intervals.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetBackgroundOpSuspend (int32_t cardIndex, int32_t module, int32_t channel, bool_t *p_outDisable)
 Retrieves the bit corresponding to the specified RTD channel in the suspend background operation register. 1 indicates that the BIT and Open-Line tests are suspended, while 0 indicates that they are enabled to run at the regular 30 second intervals.
 
NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_TriggerBackgroundOperation (int32_t cardIndex, int32_t module, int32_t channel, naibrd_rtd_background_op_type_t opType)
 Sets the bit corresponding to the specified RTD channel in the register corresponding to the specified background operation type. The bit is set to a 1, which triggers a single execution of the operation. Valid operation types are BIT Test and Open-Line Test. Bit is cleared upon completion of the operation.
 

Detailed Description

Function Documentation

◆ naibrd_RTD_GetBackgroundOpSuspend()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetBackgroundOpSuspend ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outDisable )

Retrieves the bit corresponding to the specified RTD channel in the suspend background operation register. 1 indicates that the BIT and Open-Line tests are suspended, while 0 indicates that they are enabled to run at the regular 30 second intervals.

Parameters
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_outDisable: (Output) 1 when BIT/Open tests are suspended, 0 when enabled.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetChanStatusEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetChanStatusEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t * p_outenable )

Retrieves the enabled/disabled state of status reporting for the specified RTD channel. Feature supported in FPGA Version >= X.X.

Parameters
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_outenable: (Output) 0 if channel status reporting is disabled or 1 if channel status reporting is enabled.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetCompResistance()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetCompResistance ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outresistance )

Retrieves the 2-wire resistance compensation. Used only when the specified RTD channel is set for 2-wire mode. This value represents the TOTAL lead resistance and is subtracted from the resistance measurement when the channel is set for 2-wire mode.

Parameters
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_outresistance: (Output) Two-wire lead compensation resistance in ohms.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetConfiguration()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetConfiguration ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_config_type_t * p_outConfigType )

Retrieves the configuration for the specified channel, only applicable for TR1 module.

Parameters
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_outConfigType: (Output) Configuration Type RTD/TC, refer to naibrd_rtd_config_type_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetOffsetTemperature()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetOffsetTemperature ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outOffsetTemperature )

Retrieves the RTD offset temperature for the specified RTD channel. The offset temperature is in degrees Celsius and is subtracted from the output temperature degrees Celsius reading. The result of the subtraction is also reflected in the output temperature degrees Fahrenheit reading.

Parameters
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_outOffsetTemperature: (Output) Floating-point offset temperature in degrees Celsius read from module.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetSampleRate()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetSampleRate ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outsampleRate )

Retrieves the measurement sample rate for the specified RTD channel.

Parameters
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_outsampleRate: (Output) Sample rates: 12Hz to 4800 Hz.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetWireMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetWireMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_wire_mode_t * p_outwiremode )

Retrieves the RTD wire mode configuration for the specified RTD channel as follows:

                   Gen5 (RT1)
Wire Mode        wiremode Value
________________________________________
2-wire       NAIBRD_RTD_GEN5_WIRE_MODE_2
3-wire       NAIBRD_RTD_GEN5_WIRE_MODE_3
4-wire       NAIBRD_RTD_GEN5_WIRE_MODE_4
Parameters
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_outwiremode: (Output) RTD wire mode.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_UNKNOWN_VALUE when invalid value is read from register.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetZeroTempResistance()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetZeroTempResistance ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_zero_temp_resistance_type_t * p_outZeroTempResistance )

NOTE: This API is deprecated for RT1, please use extended function naibrd_RTD_GetZeroTempResistanceEx instead. Retrieves the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel as follows:

Resistance Range           RTD Type                ZeroTempResistance
_________________________________________________________________________________
18-400 ohms                PT-100             NAIBRD_RTD_ZERO_TEMP_RESISTANCE_100
90-2000 ohms               PT-500             NAIBRD_RTD_ZERO_TEMP_RESISTANCE_500
180-4000 ohms              Pt-1000            NAIBRD_RTD_ZERO_TEMP_RESISTANCE_1000
Parameters
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_outZeroTempResistance: (Output) Transducer's 0 degree Celsius setting.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_UNKNOWN_VALUE when invalid value is read from register.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_GetZeroTempResistanceEx()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_GetZeroTempResistanceEx ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t * p_outZeroTempResistance )

Retrieves the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel.

Parameters
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_outZeroTempResistance: (Output) Transducer's 0 degree Celsius setting.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetBackgroundOpSuspend()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetBackgroundOpSuspend ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t disable )

Sets the bit corresponding to the specified RTD channel in the suspend background operation register. Writing a 1 to the bit suspends the BIT and Open-Line tests, and writing a 0 re-enables them to run at the regular 30 second intervals.

Parameters
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]). A channel specification of 0 selects all channels.
disable: (Input) 1 to suspend BIT/Open tests, 0 to re-enable.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid disable parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetChanStatusEnable()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetChanStatusEnable ( int32_t cardIndex,
int32_t module,
int32_t channel,
bool_t enable )

Enables/disables status reporting for the specified RTD channel. Feature supported in FPGA Version >= X.X.

Parameters
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 to disable or 1 to enable status reporting for a channel.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid enable parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetCompResistance()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetCompResistance ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t resistance )

Sets the 2-wire resistance compensation. Used only when the specified RTD channel is set for 2-wire mode. This value represents the TOTAL lead resistance and is subtracted from the resistance measurement when the channel is set for 2-wire mode.

Parameters
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]).
resistance: (Input) Two-wire lead compensation resistance in ohms.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetConfiguration()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetConfiguration ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_config_type_t configType )

Sets the configuration for the specified channel as RTD or TC(Thermocouple), only applicable for TR1 module.

Parameters
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]).
configType: (Input) Configuration Type RTD/TC, refer to naibrd_rtd_config_type_t definition.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_MODE when invalid configType parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetOffsetTemperature()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetOffsetTemperature ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t offsetTemperature )

Sets the RTD offset temperature for the specified RTD channel. The offset temperature is in degrees Celsius and is subtracted from the output temperature degrees Celsius reading. The result of the subtraction is also reflected in the output temperature degrees Fahrenheit reading.

Parameters
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]).
offsetTemperature: (Input) Floating-point offset temperature to set in degrees Celsius.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetSampleRate()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetSampleRate ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t sampleRate )

Sets the measurement sample rate for the specified RTD channel.

Parameters
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]).
sampleRate: (Input) Sample rates: 12Hz to 4800 Hz.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetWireMode()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetWireMode ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_wire_mode_t wiremode )

Sets the RTD wire mode configuration for the specified RTD channel as follows:

                   Gen5 (RT1)
Wire Mode        wiremode Value
________________________________________
2-wire       NAIBRD_RTD_GEN5_WIRE_MODE_2
3-wire       NAIBRD_RTD_GEN5_WIRE_MODE_3
4-wire       NAIBRD_RTD_GEN5_WIRE_MODE_4
Parameters
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]).
wiremode: (Input) RTD wire mode.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_MODE when invalid wiremode parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetZeroTempResistance()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetZeroTempResistance ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_zero_temp_resistance_type_t zeroTempResistance )

NOTE: This API is deprecated for RT1, please use extended function naibrd_RTD_SetZeroTempResistanceEx instead. Sets the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel as follows:

Resistance Range           RTD Type                ZeroTempResistance
_________________________________________________________________________________
18-400 ohms                PT-100             NAIBRD_RTD_ZERO_TEMP_RESISTANCE_100
90-2000 ohms               PT-500             NAIBRD_RTD_ZERO_TEMP_RESISTANCE_500
180-4000 ohms              Pt-1000            NAIBRD_RTD_ZERO_TEMP_RESISTANCE_1000
Parameters
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]).
zeroTempResistance: (Input) Transducer's 0 degree Celsius setting.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_MODE when invalid zeroTempResistance parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_SetZeroTempResistanceEx()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_SetZeroTempResistanceEx ( int32_t cardIndex,
int32_t module,
int32_t channel,
float64_t zeroTempResistance )

Sets the transducer's 0 degree Celsius resistance (in ohms) setting for the specified channel.

Parameters
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]).
zeroTempResistance: (Input) Transducer's 0 degree Celsius setting.
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.

◆ naibrd_RTD_TriggerBackgroundOperation()

NAIBRDFUNC nai_status_t NAIAPI naibrd_RTD_TriggerBackgroundOperation ( int32_t cardIndex,
int32_t module,
int32_t channel,
naibrd_rtd_background_op_type_t opType )

Sets the bit corresponding to the specified RTD channel in the register corresponding to the specified background operation type. The bit is set to a 1, which triggers a single execution of the operation. Valid operation types are BIT Test and Open-Line Test. Bit is cleared upon completion of the operation.

Parameters
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]). A channel specification of 0 will trigger operation on all channels.
opType: (Input) Background operation type to trigger (refer to naibrd_rtd_background_op_type_t definition).
Returns
  • NAI_SUCCESS
  • NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
  • NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
  • NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
  • NAI_ERROR_INVALID_VALUE when invalid opType parameter is specified.
  • NAI_ERROR_NOT_SUPPORTED when function is not supported.