MP300 API MPS_StartMeasureCurrent Gain

Updated Oct 23, 2019

Reported In


  • Micropross Accessories

Issue Details

I am using the MP300Com or MPuLib API and am using the MPS_StartMeasureCurrent( ) method. I noticed that changing the range affects the reading such that the current read by the function increases as the range increases.

How do I determine the recommended gain for my measurement?


The function MPS_StartMeasureCurrent( )  is related to the input range of the analog-to-digital (ADC) converter of your instrument. Our goal is to adjust the gain to sample the signal at maximum ADC resolution for your particular reading, which will increase the accuracy of the measurement.

The following chart maps signal characteristics to their ideal ranges. We suggest estimating the range of the current on each pin and choose the corresponding best scale for each measurement. Please note you can use the function Get_ICC(unit: uA) obtain a rough idea of the range. You can then use the closest range as the "Gain" value in MPS_StartMeasureCurrent( ).