Sensor graph
Sensor Graph
最終更新
Sensor Graph
最終更新
Windows
macOS
Linux
RasPi
Various sensor data are recorded in a database file. There is also a function to simply refer to the measured values on the TWELITE Stage screen.
It is not possible to start multiple TWELITE STAGE with the same executable name and use the sensor graph at the same time.
The database file is stored in the {MWSTAGE installation}/log
folder and the file name is determined by the TWELITE_Stage executable name.This is because the same executable file name refers to the same database file. The TWELITE STAGE app implementation does not expect multiple application instances to be adding data to the database at the same time. In some situations, this may result in a database file access error, which may cause the TWELITE STAGE app to crash.
For example, if you want to connect two MONOSTICKs and run multiple "sensor graphs" at the same time, run the TWELITE STAGE application with different executable names (stage_a.exe
, stage_b.exe
) for each. The database file names are log/stage_a_WSns.sqlite
and log/stage_b_WSns.sqlite
.
Data is stored in a file named {MW_STAGE Install}/log/{MW_STAGE file name}_WSns.sqlite
using sqlite3.
The screen transition is [List (with graph preview)]>[24-hour data]>[Live View].
From [24-hour data], you can move to [Year], [Month], [Day (with graph preview)] selection screen.
About the [Live] display screen
Select a specific node from the list.
Display real-time data every second, up to 450 seconds in the past.
About [24-hour data] display screen
Display data for a specific day.
Data is acquired every second, and if there are multiple data, they will be thinned out.
Except for the maximum magnification (1 second per pixel), the data is displayed by averaging the acquired values in each pixel range.
If the value extends beyond the screen, the measurement points are displayed at the top and bottom edges.
If the current time is included, the display is updated when new data arrives.
Wheel, cursor up/down: zoom in/out of time axis
Mouse move: Simplified display of the acquired data in the time axis corresponding to the mouse pointer.
Cursor→, ←: Move to the next acquisition data.
Click and drag: Scroll (only when zoomed in)
When zoomed in, operation by scroll bar is also available.
The [CSV Output] function displays all acquired values contained in the database.
Use the tools at https://sqlitebrowser.org/ to extract data.
Operation | Desc |
---|---|
Mouse drag (graph area) | Move the display position when zooming in |
Mouse drag (bottom scroll bar) | Move the display position when zooming in |
Cursor →, ← | Move the sample display |
Cursor up, down, wheel | Zoom in/out on sample horizontal axis |
| Go to the one-second increment view that displays the latest arrival data |
| Go to daily graph |
| Go to the nodes selection screen |
| Select a specific date by year, month, and day. |
| Go to today's data |
| Output one day's data to CSV file |
| Change the display method of the list |
| Change the order of the list |
| Reverses the order of the listings |
v1.3.9
or later
On the "24-hour data screen," left-clicking on the memo portion of the sensor node in the upper right corner of the screen will prompt you to edit the memo.
Key | Description |
---|---|
ASCII charavcters | If you enter a normal alphanumeric string directly, it will be switched accordingly on the screen. |
| Delete the trailing characters displayed. |
| The entered string is reflected in the database. |
IME input operations (e.g. Japanese) may depend on the system you are using.
Unexpected character strings may be input depending on the operation at the time of IME input. When an unnecessary string is displayed in the input area, delete the unnecessary part by pressing the BS
key.
There are three basic types of screens: list, 24-hour, and live.
Specify 32
in [STAGE Common Settings -> Startup Application Designation].
Column Name | Type | Description |
---|---|---|
| INTEGER | continuation number used in the database |
| INTEGER
| serial number stored in |
| INTEGER | The time the system received the packet, a timestamp value stored of type |
| INTEGER | The milliseconds portion of the timestamp. |
| INTEGER | The year portion of the local time from the timestamp. |
| INTEGER | The month portion of the local time from the timestamp. |
| INTEGER | The day portion of the local time relative to the timestamp. |
| INTEGER | The hour portion of local time from the time stamp. |
| INTEGER | The identification value, e.g., LID, assigned by the user. |
| INTEGER | Approximate value of the reception strength (Link Quality Indicator). |
| INTEGER | The sequential number of the packet. The possible values depend on the firmware. |
| INTEGER | The type of wireless packet.
|
| REAL | measured value (definition depends on packet type)
|
| REAL | measured value (definition depends on packet type)
|
| REAL | measured value (definition depends on packet type)
|
| REAL | measurement value (definition depends on packet type)
|
| INTEGER | voltage[mV] |
| INTEGER
| b0..b7: DI1..DI8 values (1 is LO, 0 is HIGH level) b24..b25: magnet value (if b28 is 1), 00->no magnet, 01->N pole, 10->S pole b28: if 1 Magnet data is stored in b24..b25 b31: Regular transmission bit (magnet only) |
| INTEGER |
|
| INTEGER |
|
| INTEGER | Other data storage purpose |
| INTEGER | Source of the event |
| INTEGER | Event ID
|
| INTEGER | Event Parameter |
Used to store additional information (text) in sensor nodes.
Column Name | Type | Description |
---|---|---|
| INTEGER | SID above |
| TEXT | SID converted to hexadecimal string (for readability) |
| TEXT | Auxiliary information corresponding to the SID, to be displayed together in a list, etc. |
Used for the purpose of maintaining the last received timestamp.
Column Name | Type | Description |
---|---|---|
| INTEGER | SID above. |
| INTEGER | Timestamp of last receipt |
| Here are some excerpts from the last data received | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|