Sending Sound Sensor Data over Xbee to an Xbee-USB Adapter to PC

i am getting confused please someone stop me. I am connecting a Sound sensor to Xbee Shiels which is connected to XBee...on receiver side there is only XBee connected to USB Adapter...can any guide me about code in Tx?