Log () with data () is a stack block available in Dabble extension for evive and other Arduino boards. The Data Logger of the IoT module is used to monitor the data of sensors while they are being logged and can finally save the data in form of CSV file. This block is used for sending the data that is to be logged in the file.
Input Parameters
- Insert the column name in which you want to log the data.
- The values entered in here are stored to the column name written in the previous parameter. One can also drag and drop any other reporting blocks as well to store real-time sensor data.
Note: This block is available in both Upload mode and Stage mode.
Example
In this example, we are going to log the values from the Potentiometer of evive into the PotentiometerData.csv file. The columns ‘POT1’ and ‘POT2’ stores the potentiometer1 and potentiometer2 reading. The potentiometer () reading reporter block is used to get the potentiometer reading.