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


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

Real Time Graph

Newsgroups comp.lang.java.programmer
Date 2012-12-19 11:02 -0800
Message-ID <5363b87a-3d06-4aa7-ba20-7a36812a7f25@googlegroups.com> (permalink)
Subject Real Time Graph
From jsscshaw88@gmail.com

Show all headers | 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