11 #define DLL_EXPORT __declspec( dllexport )
daq_data_t dtype
The type of the channel data.
Definition: trench.h:82
void trench_init(struct trench_struct *t)
Definition: trench.c:23
enum chantype chantype_t
Channel type code enumerator.
double rate
Sample rate.
Definition: trench.h:76
daq_data_t trench_dtype(struct trench_struct *t, daq_data_t rawtype)
Definition: trench.c:163
chantype_t ctype
Definition: trench.h:70
#define DLL_EXPORT
Definition: channel.h:12
void trench_infer_chan_info(struct trench_struct *t, enum chantype ctype, double rate, daq_data_t rawtype)
Definition: trench.c:35
chantype
Channel type code enumerator.
Definition: channel.h:28
daq_data_t
Definition: channel.h:71
void trench_destroy(struct trench_struct *t)
Release parsed data storage.
Definition: trench.c:154
size_t len
Definition: trench.h:64
void trench_parse(struct trench_struct *t, const char *s)
Parse a channel name.
Definition: trench.c:78
int trench_cmp_base(struct trench_struct *t, const char *s)
Compare string to channel base name.
Definition: trench.c:142
trench_type
Definition: trench.h:19
NDS2 trend channel specification.
Definition: trench.h:58
enum trench_type styp
Definition: trench.h:67
char * str
Definition: trench.h:61