Mercurial > hg > fxanalyse
view ad9956.h @ 254:67c8ace9d5f6
Save time strings in UTC time and rotate datafiles at midnight UTC
Time strings '05/06/2015 00:00:00.014' in datafiles were reported in
Paris local time and the data files were rotated at midnight Paris
time. Switch to use UTC time for both.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Fri, 05 Jun 2015 18:06:12 +0200 |
parents | c700a2d38fb8 |
children | 5296f3bcd160 |
line wrap: on
line source
#ifndef __AD9956_H__ #define __AD9956_H__ #define REVISION 1 struct ad9956 { char *hostname; int port; int profile; int fd; double clock; double frequency; }; int ad9956_init(struct ad9956 *d, const char *hostname, double clock); int ad9956_get_frequency(struct ad9956 *d, double *f); int ad9956_set_frequency(struct ad9956 *d, double f); int ad9956_set_sweep_rate(struct ad9956 *d, double rate); int ad9956_sweep_start(struct ad9956 *d); int ad9956_sweep_stop(struct ad9956 *d); #endif