I have tried with different combinations of sampling time and discharge time (that only can able to edit in halcogen).
(I have some problem in reading the multiple ADC channels simultaneously. there is a small change in output voltage with the mean difference of +40mV over the period of time. it is creating a lot of impact in my overall result. I am totally using 10 channels. if I connect the digital multimeter to the particular channel the output becomes exact (digital multimeter parallelly connected to ADC input to the controller).)
different trials exercised:
1. for discharge time 100ns and the sampling time of 200ns there is no change in output voltage up to 1 volt and if it exceeds 1 volt there is 40mV error added.
2. for discharge time 400ns and the sampling time of 600ns it gives better result up to 1.5v.
please check the image below
what actually is the relation between sampling time and discharge time.