telemetry communication using xbee

i have two xbee series 2 ,i configure one as coordinator in API
mode ,and other as router in API also,and AD1 &AD2 pin 18&19 as ADC and sampling rate 5000 for seconds ,but am getting reading as frame i dont know its for both sensors or one and how i have to configure to get 4 analog sensors reading?

You need to look at the DIO section of both the manual and the API section of the manual. If you do, you will see examples on how to read the packet and how to determine the amount of samples and from what lines or pins.