XB 24-B direct io

Hello all

I have two XBee series 2 XB24-B. I wanted to connect one Xbee to pc using usb serial board and in other XBee i wanted to connect analog voltage in one of the ADC pin and wanted to transmit the data to the base station which is first xbee connected to the usb serial board.
In the faludi’s example the same thing have been done using xbee series 1. How to do it in series 2?