This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA305: PADC gain calculation

Part Number: PGA305

I have the PGA305-evm up and running with the PGA 305 GUI- When I come to PADC calculation I get error code "Error occured while execution python script. Error code 9009".

See the screen dump below.

I anticipate  that this has something with the script file which I do not fully understand.

Can you help me/educate me/explain for me.

Thank you.

  • Hi Dag,

    There is an error with the implementation of the gain calculation script included with the GUI. At this time we do not have a replacement script, so this function cannot be used in the GUI. The intention of the script was to maximize the input range of the ADC using the PGAIN with the sensor setup that the user has implemented. This will end up being dependent on the end user in any case, because depending on the variation of the sensors used the gain may need to be calculated for each individual sensor, or some kind of buffer should be implemented to ensure the ADC input is not clipped.

    As an example on the positive end, the full scale range of the ADC (23 bits since this is a binary twos complement number) could be divided by P2-Max to supply the precise gain. Then the gain would need to be selected from the available gain settings in the PGA305. 


    Regards,

    Scott