Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2371
| Newsgroups | comp.lang.java.help |
|---|---|
| Date | 2012-12-19 11:00 -0800 |
| Message-ID | <0aab1044-5925-4b32-b25d-99be0219e63f@googlegroups.com> (permalink) |
| Subject | Real Time Plotting |
| From | jsscshaw88@gmail.com |
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.help | Previous | Next | Find similar | Unroll thread
Real Time Plotting jsscshaw88@gmail.com - 2012-12-19 11:00 -0800
csiph-web