Otii is great help for us in the office. I have recently tried to sense how much current is sourced though the battery so I have connected a 0R1 in series to to the battery positive lead and connected to DUT. Accorsingly connected ADC+ before and ADC- after the shunt. I have also connected the AGND to the negative battery lead.
What im getting seems like a correct graph, but incorrect scale and im getting both positive and negative values for current which seems strange. Voltage seems allright.