pxt-calliope/docs/device/data-analysis/viewing.md
Amerlander 918af4f3ac
Bump V3.0.22 (#110)
* change simulator svg

* change radio image

* Remove google fonts cdn

* change color of 'advanced' button

* font fix

* font fix 2

* display fix

* change fullsceen simulator bg

* Continuous servo

* handle continuous state

* adding shims

* update rendering for continuous servos

* fixing sim

* fix sig

* typo

* fix sim

* bump pxt

* bump pxt

* rerun travis

* Input blocks revision

- add Button and Pin event types
- merge onPinPressed & onPinReleased in new onPinEvent function
- create new onButtonEvent function

* update input blocks in docs and tests

* remove device_pin_release block

* Hide DAL.x behind Enum

* bring back deprecated blocks, but hide them

* shims and locales files

* fix input.input. typing

* remove buildpr

* bump V3

* update simulator aspect ratio

* add Loudness Block

* revoke loudness block

* Adds soundLevel

To be replaced by pxt-common-packages when DAL is updated.

* Remove P0 & P3 from AnalogPin

Co-authored-by: Juri <gitkraken@juriwolf.de>
2020-09-08 02:04:25 -07:00

2.4 KiB

Viewing your data

Recording data

When your code is writing data, and the editor is recording it, the Show data button is displayed in the simulator under the board and simulation controls.

Show data button

Data view window

If you press the Show data button, the editor will switch from the Blocks or JavaScript view to display a charting window and a text console.

Data chart and console

The console window under the graph will show the data in the format it was written. The chart is the visual representation of the values appearing on the console.

Time scroll

The chart will display new data as it arrives. The chart will scroll with time to continue to display new values.

Data chart time scroll

Data view controls

The chart window shows the data view controls on top of the chart.

Data view controls

Here's what the controls do:

Return: The return button switches the view back to previous code window (either Blocks or JavaScript).

Return button

Source: Tells you where the data is coming from. If the code writing the data is running in the simulator, then the source is Simulator. If your code is running on the @boardname@ and connected by USB, the source is @boardname@.

Source label

Pause: The pause button will stop the display of new values and stop scrolling. When you resume, the chart starts again with the current value written.

Pause button

Resume: The resume button will start displaying new values after the Pause button was pressed.

Resume button

Download: The download button collects the data your code has written and downloads it to your computer as a file called something like data-11-2018-23-00-0700.csv. The numbers in the filename are the date and time when the file is created. The file may automatically open in an editor or spreadsheet if one of those programs is associated with csv files.

Download button