comparison data-provider.h @ 176:6ccc428c412a

Increase maximum number of data channels to 8
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 21 Feb 2014 18:38:44 +0100
parents 8a94f1913b4e
children ec81395bf08d
comparison
equal deleted inserted replaced
175:e5ad3ed47d2c 176:6ccc428c412a
11 11
12 /* callback receiving messages in the main thread */ 12 /* callback receiving messages in the main thread */
13 void CVICALLBACK MessageCB (void *callbackData); 13 void CVICALLBACK MessageCB (void *callbackData);
14 14
15 /* number of data channels */ 15 /* number of data channels */
16 #define NCHAN 4 16 #define NCHAN 8
17 17
18 /* data acquisition event */ 18 /* data acquisition event */
19 struct event { 19 struct event {
20 struct timeval time; 20 struct timeval time;
21 double data[NCHAN]; 21 double data[NCHAN];