Cloning and timeline browsing: this project is on ChiselApp: chiselapp.com/user/kiatoa
Overview

Artifact ID: 7aa89c53965caf7fc22f697124d58310fb2f99c2
Page Name:Accessing the data
Date: 2014-05-28 06:39:42
Original User: matt
Parent: 4f5f0a0b8d4e3e29b2d13cb89820b68e66389329 (diff)
Next c055674481dd05bf322e9f7783d4dec762e4d097
Content

Accessing the data

Calls to refdb directly (use in shell scripts):

> refdb lookup condo-ctrl summer temp target
32

Use the ini-file egg

csi> (use ini-file)
csi> (property-separator-patt " ")
csi> (define cfgdat (read-ini "condo-ctrl/summer.dat" ))
csi> (cdr (assoc 'temp (cdr (assoc 'target cfgdat))))
28