Mercurial > hg > fxanalyse
view data-provider.h @ 217:fefe921a9784
Use DDS4 for shifting Sr beatnote frequency to 10 kHz
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 15 Apr 2014 13:35:07 +0200 |
parents | 6ccc428c412a |
children | ec81395bf08d |
line wrap: on
line source
#ifndef __DATA_PROVIDER_H__ #define __DATA_PROVIDER_H__ #include "future.h" /* data acquisition flag */ extern int acquiring; /* data queue */ extern CmtTSQHandle dataQueue; /* callback receiving messages in the main thread */ void CVICALLBACK MessageCB (void *callbackData); /* number of data channels */ #define NCHAN 8 /* data acquisition event */ struct event { struct timeval time; double data[NCHAN]; }; /* send messages to the main thread */ void SendMessage(int threadId, const char *frmt, ...); /* data providers */ int CVICALLBACK FakeDataProvider (void *functionData); int CVICALLBACK FileDataProvider (void *functionData); int CVICALLBACK KKDataProvider (void *functionData); #endif