/* period.h */ #define START_TASK 1 #define STOP_TASK 2 struct my_msg_struct { int command; }; #define SAMPLING_PERIOD 50000 // sampling period [ns] #define RECORDING_SAMPLES 200000 // recording samples //#define RECORDING_SAMPLES 100000 // recording samples #define BUF_LEN 2 #define PERIOD_COUNT 100