Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
|
NAI's thermal measurement smart function modules provide a thermocouple (TC) and/or resistance temperature detector (RTD)The TR1 provides eight channels which can be individually programmed as a Thermocouple (TC) or a Resistance Temperature Detector (RTD) measurement interface. NAI offers 3 thermal measurement smart function modules. Each are individually configurable for up to 8 isolated measurement channels. TC smart function modules can interface with virtually all thermocouple-type NIST temperature ranges. RTD smart function modules can interface to two, three and four-wire platinum RTD sensor configurations.
The following features enhancements are available in Rev 2 and later releases of the RT1 module:
New RTD APIs:
1) naibrd_RTD_SetZeroTempResistanceEx/naibrd_RTD_GetTempResistanceEx
These new APIs replace the following legacy APIs: naibrd_RTD_SetZeroTempResistance/naibrd_RTD_GetZeroTempResistance which only supported PT-100, PT-500 and PT-1000 ranges.
These new APIs have a floating point input parameter that sets/gets the Transducer's Zero Degree Celsius resistance (in ohms). These APIs will support legacy temperature ranges (X1) as well as the expanded temperature ranges.
2) naibrd_RTD_SetSampleRate/naibrd_RTD_GetSampleRate
These new APIs provide the ability to specify the sample rate of the RTD readings. Note, sample rate affect the BIT Status and Open Status monitoring rates.
Calling these APIs with RTD (Rev 1) modules will result in the return of NAI_ERROR_NOT_SUPPORTED.
Legacy RTD APIs:
1) naibrd_RTD_SetZeroTempResistance/naibrd_RTD_GetZeroTempResistance
These APIs continue to be supported. The implementations have been modified to call the new naibrd_RTD_SetZeroTempResistanceEx/naibrd_RTD_GetZeroTempResistanceEx APIs.
2) naibrd_RTD_SetBitOpenInterval/naibrd_RTD_GetBitOpenInterval
Calling these APIs with RTD (Rev 2) modules will result in the return of NAI_ERROR_NOT_SUPPORTED.