J
jsscshaw88
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.co...adlogic/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
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.co...adlogic/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