473,395 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Dirrection please

5
Hi all, Just came across an old data logger project I was playing with a while ago. It records G forces and lap times and can be down loaded with Hyperterminal. Anyone out there able to help with some programming to display the data or point me to someone that can??

Thanks
Aug 13 '06 #1
9 1753
sashi
1,754 Expert 1GB
Hi Dave,

since the code that you have able to record G-Force what is the problem in capturing the points or data? please be precise my fren.. take care..
Aug 15 '06 #2
DaveNZ
5
Thanks
The data logger records lap times and G force loads, the data is downloaded via com port as a txt:
lap
1,10.05
2,6.08 (seconds)
3,7.08
data
1,1954,2028,111,0
2,1920,2020,96,0 (1920, 2020 x & y G force)
3,1972,2011,89,0
4,1974,2012,80,0
5,1974,2007,76,0
6,1977,2006,73,0
7,1985,1998,71,0
8,1991,1995,70,0
9,1979,1992,69,0
10,1991,1983,69,0

Would like to display data in graph form.
Aug 15 '06 #3
DaveNZ
5
Sashi
The first set of data is lap time, lap no. then time in seconds. I added the word second. The second data set is the acceleration data, sample no. then the data from the accleromiter(?). The data is raw, we need to establish a 1 G load we do this by turning the logger on its side (90 deg from horizontal) we do this on both the X and Y axis. This 1 G value is used to work the raw data to produce a true acceleration rate. Dont worry about the other two colums. All I want is a simple program to download and display the data in a meaningful manner.
Aug 15 '06 #4
sashi
1,754 Expert 1GB
Hi Dave,

i remember seeing some sample vb source code that will read contents of plain .txt file.. check out the link attached below.. am not sure as to which degree it will help, but atleast it helps you to get started with.. :) good luck and take care my fren..

http://www.planet-source-code.com
Aug 15 '06 #5
sashi
1,754 Expert 1GB
Hi Dave,

check out the below attached link.. take care my fren..

http://www.thescripts.com/forum/thread521986.html
Aug 15 '06 #6
BSOB
77
Aw, this seems familiar. I do a lot of work with graphical representations of raw data. (as hobby, mostly). An application to do what you ask would be very small and easy to make. The vectors for G could be rendered into an intuitive visual graphic in 10 lines of code or less. You said you want to display it in graph form. Reading the data from file and loading it to memory is especially easy since you know EXACTLY what format it will be in. If you give me a little more information, I'd be happy to put a few minutes into this.
Aug 15 '06 #7
DaveNZ
5
Thanks, I had the feeling that it would be easy for someone who knows.... As you gather I use Hyperterminal to download the data (com8 as serial to USB converter). I just did an excel sheet and found that in the first data colum works out that a 1 "G" value equals 535 and the second data colum (the other dirrectional axis) has a 1 "G" value of 845. So this means that the logger when stationary outputs around 2200 then jumps to just over 2700 thus we get 535 when a force of 1 "G" is applied. (Logger turned 90 deg to stationary.

Make sence........

If you are keen to have a look I would be most greatful. Maybe easier to email you.

Many thanks Dave
Aug 16 '06 #8
BSOB
77
I would love to take on the task.
Heres what I need from you:
An example of the output file (with no added comments in its original plain text form, just so i am cirtain exactly what i am working with)
An example of what you want the finished product to look like (use excel, just set up the columns the way you want them to look with the data from the text file, if you dont want this, ill make something intuitive looking)
A description of any visuals you might want rendered (dA, A, V, X, all in vector form), velocity and position i can achieve via integrals of acceleration.
And, do you want the finished product to be an excel file or a plain form with a spreadsheet on it (form is my preferance).
and it would make my life easier if the text file always had the same path. if it does, what is that path, if it doesnt, then let me know if there is a folder it is more likely to be found in.
I just did an excel sheet and found that in the first data colum works out that a 1 "G" value equals 535 and the second data colum (the other dirrectional axis) has a 1 "G" value of 845. So this means that the logger when stationary outputs around 2200 then jumps to just over 2700 thus we get 535 when a force of 1 "G" is applied. (Logger turned 90 deg to stationary.
I get that. is 2200 the stationary output in both axii?

email specs to alexme1@yahoo.com
Aug 16 '06 #9
DaveNZ
5
Alex, sent you an email with some info.

Regards Dave
Aug 18 '06 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Numberwhun | last post by:
Hello everyone! I am trying to learn java and have run into kind of a snag. Here is the code that I have so far: ------ <begin_code> ---------- import javax.swing.*; import...
2
by: nephish | last post by:
Hey there, i have been spending some time learning python. i do enjoy it so. Heres the deal. i need some dirrection advice. i have a friend that wants me to set up a customer database for him....
1
by: HolaGoogle | last post by:
Hi all, Please help me with the following..it's realy urgent and i tried everything i could and i can't get it work properly!! Thanks in advance. Here's what i'm trying to accomplish: in my...
0
by: s_erez | last post by:
Hi, This is a realy tricky one. I have an ASP.NET application where some pages are reading data from a DB and presenting reports. In order for the user to wait while the page is reading data from...
4
by: dave | last post by:
Hi guys I display one page in popup window...that fetches some data from sql and perfom some calculation (tht approx 10 secs) and display result.... I am trying to display "Please wait ..."message...
2
by: rked | last post by:
I get nameSPAN1 is undefined when I place cursor in comments box.. <%@ LANGUAGE="VBScript" %> <% DIM ipAddress ipAddress=Request.Servervariables("REMOTE_HOST") %> <html> <head> <meta...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
4
by: pshindle | last post by:
DB2 Team - I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack files to a CD. I proceded to install this...
1
PEB
by: PEB | last post by:
POSTING GUIDELINES Please follow these guidelines when posting questions Post your question in a relevant forum Do NOT PM questions to individual experts - This is not fair on them and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.