I suggest if you are interested in this system you make
a folder and drag over all the many future messages on this
subject otherwise delete it.
Mark, I think I have the last piece in the puzzle.
Sub Main()
Dim x as Integer
Dim val as Integer
For x = 1 to 1000
val = GetADC(82)\ 5
Console.Write (CStr(val) & ", ")
Delay(0.01)
Next
End Sub
Given this program it sends out 1000 characters
that will load into the first row of a spread
sheet. That makes it easy to chart the data
with one exception. One must get rid of the header
part.
One must be in a project and one must start data logging
under the options menu. Choose a name for the data
logging that looks like this: name.csv
Now you need to get a hex editor to edit this
file as every stock Windows and Linux editor I tried
inserts hidden characters called carriage return
and/or line feed and therefor ruins the file for
our purposes. The spread sheet will barf on that
file.
Here is the hex editor I used
http://www.sweetscape.com/download/download_010editor.html
It is a marvel all on its own.
Here is a screen capture of what it looks like.
Understanding this is 10% of a Phd in computer science :)
This editor works great on XP.
I don't know about Windows 7 but I would try it.
Paul Lamar
--
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site.
http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2010 All world wide rights reserved.