Tutorial Clojure
- Download and install the
standalone application
- Monitor data in a Clojure program by:
- create a clock instance:
(def
clock (new zephyr.plugin.core.api.synchronization.Clock "Simple"))
- create a monitor binded with the clock:
(def monitor (.. zephyr.plugin.core.api.Zephyr
(getSynchronizedMonitor clock)))
- monitor data by creating instance implementing the zephyr.plugin.core.api.monitoring.abstracts.Monitored
interface and add the instance to the monitor
- Start Zephyr then open the file with
- Data from the file is displayed and can be plot at different
time scale using a Plot View
- An example is available in Zephyr source code: simple.clj