# Unable to perform analog sampling in XBee-Wifi module

**URL:** <https://forums.digi.com/t/unable-to-perform-analog-sampling-in-xbee-wifi-module/16609>\
**Category:** XBee & XBee Gateway\
**Tags:** arduino-xbee, s6b, s6, sampling, sample-rate\
**Created:** [April 18, 2016, 8:04am UTC](https://forums.digi.com/t/unable-to-perform-analog-sampling-in-xbee-wifi-module/16609 "2016-04-18T08:04:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_KS](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@Nathan\_KS](https://forums.digi.com/u/Nathan_KS)\
**Post date:** [April 18, 2016, 8:04am UTC](https://forums.digi.com/t/unable-to-perform-analog-sampling-in-xbee-wifi-module/16609/1 "2016-04-18T08:04:48Z")

</div>

I am currently working on remote transfer of the analog samples periodically by sampling the ADC pins of XBee-S6B module.I have done the following steps:  
1.Connected to Wifi network  
2.set the Source and destination ports and IP’s  
3.Enabled the ADC pins(all the five)  
4.Converted into XBee API mode  
5.Created a simple UDP server

But I had been waiting for so long and I had not received any udp samples from the module.

Is there something to do with the IC parameter(DIO change detect which has not been touched and has retained it’s original value,0).

Please could anyone share some valuable insights in this matter? I am kinda new to this module myself.

Thank you In advance.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 18, 2016, 8:41am UTC](https://forums.digi.com/t/unable-to-perform-analog-sampling-in-xbee-wifi-module/16609/2 "2016-04-18T08:41:29Z")

</div>

Are you monitoring the port XBEE or some other port number?

---

<div class="post-metadata">

**Author:** ![Nathan\_KS](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@Nathan\_KS](https://forums.digi.com/u/Nathan_KS)\
**Post date:** [April 18, 2016, 12:20pm UTC](https://forums.digi.com/t/unable-to-perform-analog-sampling-in-xbee-wifi-module/16609/3 "2016-04-18T12:20:22Z")

</div>

I am listening on the port which was termed “detination port in the module” while configuring.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 18, 2016, 1:21pm UTC](https://forums.digi.com/t/unable-to-perform-analog-sampling-in-xbee-wifi-module/16609/4 "2016-04-18T13:21:42Z")

</div>

All ADC data is sent on port BEE. Try that port instead.
