CHAPTER 14Cool Combinations

In this chapter we'll investigate some examples of the cool things you can do with NXT when it's combined with other software and hardware.

Data Logging

Some experiments take a long time to perform, and waiting around for hours to write down the data every few minutes can be mind numbing, to say the least. Fortunately, the NXT can automatically log data into a file. You can store the numbers in the file in a text format that spreadsheet programs can import. Once the data is in a spreadsheet, you can process and plot it to produce graphs for a lab report.

Figure 14-1 is a basic data-logging program written in NXT-G. It should be easy to modify it for your particular application. Notice you must include the Keep Alive ...

Get Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.