Software Library API naibrd 1.62
See all documentation at naii.docs.com
|
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.
New General APIs:
1) naibrd_GetModuleHardwareRev
Retrieves the module hardware revision for the card and module specified (Ex. revision to specify 1 (X1), 2 (X2), etc.)