# XBee S2B Pro Sample Rate Question

**URL:** <https://forums.digi.com/t/xbee-s2b-pro-sample-rate-question/14044>\
**Category:** XCTU\
**Tags:** baud, sample-rate, s2b-pro, xbee\
**Created:** [December 7, 2014, 10:53pm UTC](https://forums.digi.com/t/xbee-s2b-pro-sample-rate-question/14044 "2014-12-07T22:53:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simaoms](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Simaoms](https://forums.digi.com/u/Simaoms)\
**Post date:** [December 7, 2014, 10:53pm UTC](https://forums.digi.com/t/xbee-s2b-pro-sample-rate-question/14044/1 "2014-12-07T22:53:08Z")

</div>

I’m having an issue with S2B Pro IR Sample Rate.

I’ve set the IR Sample Rate to “0x32”, this means a 50ms IR Sample Rate or 20Hz.  
Baud Rate is set to 9600.

I have a 3-axis analog accelerometer plugged into three different XBee ports, set as analog.

After I read the data I get 14 samples per sec instead of the 20 I was hoping for.  
I understand I am doing something wrong, can’t seem to find where is the issue.

Thanks in advance,  
Simon.

---

<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:** [December 10, 2014, 3:44pm UTC](https://forums.digi.com/t/xbee-s2b-pro-sample-rate-question/14044/2 "2014-12-10T15:44:52Z")

</div>

Could be a throughput issue. The mesh based products are not well suited for streaming data. Try telling the system to transmit after taking two samples.
