-
Notifications
You must be signed in to change notification settings - Fork 86
Plugin trendoutput
Walt K edited this page Mar 1, 2018
·
6 revisions
Plugin: trendoutput
The trend output plug-in saves the trend data in CSV format to a disk. After an initial header with timestamps and software version information all data columns are stored automatically every second. Events, which occurred in the past second are added to the end of the row. All functions in this file are private and should not be called by an end-user.
Note: This plugin, like all other plugins, will not run if (scheduler-init) and (scheduler-startcase) have not been called.
Requires trendoutput to be listed in the application's PLUGINS file, and scheduler ln_store csv to be listed in the application's MODULES file.
Example 1: Initialize a trendoutput plugin to save the store values of variables "HR" "SP" and "SQI" into the Trends file.
(set! store (make-store "store"))
(scheduler-startcase store (time->timestamp (current-time)))
(make-instance store "TRENDOUT" "trendoutput" '("Trends" ("HR" "SP" "SQI")))
(scheduler-init)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip