Activity 9-7: Temperatures and Time StampsBuild a VI that takes 50 temperature readings inside a loop, once every 0.25 seconds, and plots each on a chart. It also converts each reading to a string, and then concatenates that string with a Tab character, a time stamp, and an end of line character. The VI writes all of this data to a file. Save the VI as Temperature Log.vi.
You can look at your file using any word processing program, but it should look something like this:
Activity 9-8: Spreadsheet ExerciseBuild a VI that generates a 2D array (three rows x 100 columns) of random numbers and writes the transposed data to a spreadsheet file (see Figure 9.49). (Save it with a ".csv" file extension so that it can be opened in your spreadsheet application, by double-clicking it.) The file should contain a header for each column as shown. Use the VIs from the Programming>>String and Programming>>File I/O palettes for this activity. Save the VI as Spreadsheet Exercise.vi. Figure 9.49. Data generated during this activity, displayed in a spreadsheet application
|