Editing
Data capture
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Smart Move includes the facility to save readings from the sensors to disk. This allows data to be gathered under certain conditions and at various times. The information is saved in a form which can be read by most spreadsheets and word processors. An example procedure for capturing data is shown in fig. 12. [[File:Tutorial-fig12.png|frame|none|fig. 12]] ''How it works.'' The first line resets the internal clock to 0. Line two opens a file to save the readings to, in this case the file channel 1 is opened (you can open up to 10 files at once) and the file is given the name βdataβ. The repeat until loop then stores the reading from sensor A once every half a second, for ten seconds. The final line closes the disk file. You will be able to open this file with a word processor or spreadsheet to produce reports and graphs. The data is saved on disk as a text file with the file extension .dat. Consult the manual of your spreadsheet or word processor to see how to load a text file into your particular program. [[Category:Tutorial]]
Summary:
Please note that all contributions to Smart Box may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Smart Box:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information