Quantcast
Viewing all articles
Browse latest Browse all 6

Datalogging in LabVIEW: Timed datalogging

It is possible to log data with LabVIEW. The simplest method is logging with a specific time interval between each measurement and the recording takes place over a specific time interval. An example would be to measure the sound level for 5 minutes, with a time interval of 5 seconds between each measurement. One such program is very easy to make. Select the Log Data command which you can find in the menu NXT Robotics / NXT I / O / Data Log: We insert this command, and select Log Sound in the drop-down menu: Notice that the icon has a red background. That means we store the data in the red data set. But we also have a green and blue data sets available. They are located in the submenu complete / logging. They look like this: So what do we mean with a red, green or blue data set? Well, when we log the data in this way the data is stored as a file on the NXT brick. If we use the red dataset the datas are saved in a file called RedData.dat, the green data set is saved in a file called GreenData.dat and the blue dataset, not surprisingly BlueData.dat. In addition, we need to configure our logging. We do this with the modifier parameters. We moves the mousepointer over the lower left corner, right click and choose create constant. Now it looks like this: The values given here are default values.  We should have a […]

Viewing all articles
Browse latest Browse all 6

Trending Articles