Documentation
LearnPen Data
Description
The LearnPen Data module displays all data from the LearnPen in real time. The graph in the LearnPen Data module has 4 stripes - 3 for the squeeze sensors (A, B, C) and 1 for the pressure sensor (a stripe at the bottom - P). Every stripe consists of 12 parts.
Properties
The list starts with the common properties. Learn more about them by visiting the Modules description section. The other available properties are described below.
| Property name | Description |
|---|---|
| Is Disabled | Defines if the module is disabled, which means that it won't be able to display the sensors' data. |
| stepsAndColors | This property describes colors and how much force needs to be used to highlight a particular part of a stripe. More info in the next section. |
| refreshTime | One integer value in milliseconds between 50 and 2000 (1 second = 1000 milliseconds; default value: 100). |
Steps and colors property
A function where you can specify the values for every step in a stripe for every sensor. The default correct range is: (33% - 66%). It's necessary to know that steps should be the same as in the Lesson Report module. In the first line, choose a relevant sensor (A, B, C, or P), and then in the next 12 lines, you have to define the percentage value and color (separated with semicolons). For example:
A 20%; yellow 35%; yellow 50%; yellow 60%; green 70%; green 75%; green 80%; green 85%; orange 87%; orange 90%; red 93%; red 95%; red
You can declare more than one sensor, e.g.
A;B;C
After that, you can define other functions for other sensors.
Supported commands
| Command name | Params | Description |
|---|---|---|
| hide | --- | Hides the module if it is visible. |
| show | --- | Shows the module if it is hidden. |