Xbee programming


I have purchased a pair of xbee module, whose range is around 30 metres.
Its modem number is not known to me,
but beneath it shows XB24-AVVi 001 revC.
i checked the module via the PC COM port. I checked the device using XCTU software.
with Enable API unchecked , the modem shows communicating problem.
with Enable API checked , modem communication shows OK
the modem type and version is not obtained.

please tell me how to correct this.

Duplicate thread - Please refer the following thread, http://forums.digi.com/support/forum/viewthread_thread,10298