actually use time stamps for querying data from edex
added state command to instrument control