project8 / dripline

Slow controls for medium scale physics experiments based on AMQP centralized messaging
http://www.project8.org/dripline
1 stars 0 forks source link

sensor_logger should use the table interface, same as the run_table #140

Closed laroque closed 8 years ago

laroque commented 8 years ago

The table interface class was written after the sensor_logger program and provides a more generic interface to SQL tables. The sensor logger program should be replaceable with a more "standard" service based on those classes and inheriting from Gogol.

laroque commented 8 years ago

The sensor_logger doesn't actually currently support string endpoints; all inserts are sent to the numeric table by default. Fixing this is an increased priority because the relay box endpoints are of type string and logging them is critical. Doing that is sufficiently substantial that I'll do this at the same time.

laroque commented 8 years ago

This is fixed in v2.0.1, logging of string valued sensors should also be working.

WARNING!!!! This is now a regular "service" with a config file and operated using open_spimescape_portal ... sensor_logger should be considered deprecated.