Data Logging Block

The Data Logging block can be used to collect and save data from sensors.
File Name - name of the experiment that is created when the Data Logging Block runs
Mode Selector
Inputs
Port Selector
Sensor Selector
Add Sensor
Use the Mode Selector to select how the data logging will operate.
Modes
Seconds


This mode collects data for a specific number of seconds. You can determine the number of seconds using the Duration input.
On for Time - Minutes


This mode collects data for a specific number of minutes. You can determine the number of minutes using the Duration input.
On


The On mode starts the data collection and continues immediately to the next block in the program. This is useful when you want your robot to perform other actions while it is logging data.
Single Measurement


The Single Measurement mode collects a single data point.
Stop


The Stop mode will stop the collection of data.
Sensor Selection
Use the Sensor Selector to choose which sensor you would like to use to collect data.



Remove Sensor
Add sensor - Use this button to add additional sensors to your experiment.

A maximum of 8 sensors can be used to collect data.
Data Logging Environment
Change to the Data Logging Environment to upload and view your data. See the Data Logging section for more information.
View Graph during Data Logging
In the Tools menu, you can select the option Create Data Logging Program. When the program is run, an experiment with the same configuration as the Data Logging block is created. You can select the tab of this new experiment to watch it run in the Data Logging environment.
Inputs
The inputs of the Data Logging block control how the sensor information is recorded. You can enter the input values directly into the block.

Alternatively, the values can be supplied by Data Wires from the outputs of other Programming Blocks. The inputs available and their functions depend on the Data Logging mode you have selected.
InputTypeAllowed ValuesNotes
Duration Numeric≤ 0Seconds or Minutes. Depends on the mode chosen
Rate Numeric1 - 1000
Rate Unit Numeric0 or 10 = Samples per second
1 = Seconds between Samples
Data Logging
Quick links