Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20583

Real Time Graph

X-Received by 10.224.72.199 with SMTP id n7mr3288033qaj.5.1355943734526; Wed, 19 Dec 2012 11:02:14 -0800 (PST)
Received by 10.49.127.198 with SMTP id ni6mr1040591qeb.23.1355943734511; Wed, 19 Dec 2012 11:02:14 -0800 (PST)
Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.216.87.MISMATCH!ee4no553304qab.0!news-out.google.com!k2ni865qap.0!nntp.google.com!ee4no591483qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Wed, 19 Dec 2012 11:02:14 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=75.99.47.75; posting-account=iicy7AoAAAAv6C1ybBN40677Q2fKgiLK
NNTP-Posting-Host 75.99.47.75
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5363b87a-3d06-4aa7-ba20-7a36812a7f25@googlegroups.com> (permalink)
Subject Real Time Graph
From jsscshaw88@gmail.com
Injection-Date Wed, 19 Dec 2012 19:02:14 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:20583

Show key headers only | View raw


Hi,

I am a newbie and trying to plot a real time X Y plot in java. I am using Net Beans IDE7.2. Data has been sampled at the rate of 250 Samples per second. It looks like as follows 

http://img402.imageshack.us/img402/4927/plotqe.png

Data will be coming into the computer over bluetooth but right now I am trying to read and plot the file. The file can be found at the following link

 https://hotfile.com/dl/185255400/ea220f1/packetr.dat.html

You can better view this file in Hex Editor like HxD from wwww.mh-nexus.de.

I do not know how many samples are in the file. But Data sample is 32 bytes long (from byte 13 to byte 44). This Data is the part of a 46 byte Frame. 

It will be a square wave of 1Hz, if we plot the data. It will be like 2 to 4 sec long wave form. 

I tried to work with the following Code to do this 

1. http://audio-analysis.googlecode.com/svn/trunk/src/com/badlogic/audio/samples/part4/RealTimePlot.java

2. http://www.sharewareconnection.com/livegraph-2-0-beta01.htm


But no sucess. I was not even able to run these above mentioned codes. 

Please advise!

jess

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Real Time Graph jsscshaw88@gmail.com - 2012-12-19 11:02 -0800
  Re: Real Time Graph Roedy Green <see_website@mindprod.com.invalid> - 2012-12-19 19:16 -0800
    Re: Real Time Graph David Lamb <dalamb@cs.queensu.ca> - 2012-12-20 06:01 -0500
      Re: Real Time Graph jsscshaw88@gmail.com - 2012-12-20 08:33 -0800
        Re: Real Time Graph jlp <jlp@jlp.com> - 2012-12-20 19:35 +0100
          Re: Real Time Graph jsscshaw88@gmail.com - 2012-12-20 10:45 -0800
            Re: Real Time Graph Lew <lewbloch@gmail.com> - 2012-12-20 11:11 -0800
            Re: Real Time Graph jsscshaw88@gmail.com - 2012-12-20 11:37 -0800
            Re: Real Time Graph "John B. Matthews" <nospam@nospam.invalid> - 2012-12-20 17:47 -0500
              Re: Real Time Graph jsscshaw88@gmail.com - 2012-12-21 11:38 -0800

csiph-web