Retrieves a measurement from the specified VR channel, based on the measured value type specified. NOTE: For FPGA Revision 2.2 and greater, the maximum input is 100V. For FPGA Revisions less than 2.2, the maximum input is 65V.
- 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]). |
measValueType | : (Input) Measured value type: refer to naibrd_vr_measured_value_type_t definition. |
p_outMeasurement | : (Output) Measured value 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_INVALID_VALUE when invalid measValueType parameter is specified.
- NAI_ERROR_NOT_SUPPORTED when function is not supported.