Pages: [1]   Go Down
Author Topic: Understanding Server Data (Then generating bar graph)  (Read 366 times)
0 Members and 1 Guest are viewing this topic.
Derbyshire
Offline Offline
Newbie
*
Karma: 0
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,


I am new to networking in general.

I am receiving a data strand in this format. (I can control the format, for example i can change the denotation)

This strand of data is very simple and is of two ATD values, [1],[2],[1],[2]. etc



368,175,367,175,368,175,368,175,368,175,368,175,
etc


I want to create a simple bar graph of these two data inputs.

How do i tell Processing that the first value is data[1], the second value is data[2], then the next is data[1].. and so on?



Thanks for reading this.

I appreciate that it is a nooby question.

Even if you could point me in the right direction - that would be great.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48569
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How do i tell Processing
Did you misspell Arduino when you tried to access the Processing forum?
Logged

Hannover, Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Insert an additional delimiter, e.g.
 
D,368,175,D,367,175,D,368,175,D,368,175,D,368,175,D,368,175,
Etc.

best regards
Andreas
Logged

http://danimathblog.blogspot.com

#define true '/'/'/'
#define false '-'-'-'

Pages: [1]   Go Up
Jump to: