ADC polling for XB

Hey guys, I’m using an X2 to talk to an XB. The network is digimesh 2.4 Gig
Can anyone point me to python scripts that return a specific XB’s ADC info? I’ve already configured the specific pin I want it to monitor to an analog input, now I just need to get that data back to my X2.
The tech support guy said this code exists but I’ve had no luck looking.

I’m a student at USC and would really appreciate the help
Thank you!

What happens when you send the “IS” command? The Xbee should return a binary string listed the various ‘I/O’ values for the digital and analogs. The manual shows how to parse.