# How to show multiple data from arduino

**URL:** <https://discourse.processing.org/t/how-to-show-multiple-data-from-arduino/2255>\
**Category:** Processing\
**Created:** [August 1, 2018, 6:20am UTC](https://discourse.processing.org/t/how-to-show-multiple-data-from-arduino/2255 "2018-08-01T06:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [August 2, 2018, 3:49am UTC](https://discourse.processing.org/t/how-to-show-multiple-data-from-arduino/2255/3 "2018-08-02T03:49:52Z")

</div>

You need to remember most ppl are not able to reproduce your setup. You need to describe what your pde does. First question: Are you getting your data? As suggested by @erwrow, you can send the data in the same stream. Check this recent post to see the concept: [[SOLVED] ArrayIndexOutOfBoundsException: 1 - #4 by racs](https://discourse.processing.org/t/arrayindexoutofboundsexception-1/2288/4) and follow the discussion there.

Also relevant:

> [error with serial - Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/comment/88115/#Comment_88115)  
> [Two sensors trigger same part of code - Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/21447/two-sensors-trigger-same-part-of-code#latest)

After you get this part ready, then you can check this post to have an idea for plotting data: [real time graph plotting using processing - Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/comment/100623/#Comment_100623)

Also check this as it displays one way to do it and it focus in the concept: [Sine Wave / Examples / Processing.org](https://processing.org/examples/sinewave.html)

Last, you can indent your code in the PDE before you post it here. To indent, select your code in the PDE and press `ctrl+t`. It makes your code easier to read after you paste it and format it here.

Kf

---

_[View the full topic](https://discourse.processing.org/t/how-to-show-multiple-data-from-arduino/2255)._
