test-EphysBoard.C File Reference

#include "Component/ModelManager.H"
#include "Devices/Serial.H"
#include "Util/Types.H"
#include "Util/log.H"
#include "GUI/XWindow.H"
#include "Image/Image.H"
#include "Image/DrawOps.H"
#include "Transport/FrameInfo.H"
#include "Media/FrameSeries.H"
#include "Transport/FrameOstream.H"
#include "Util/Timer.H"
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <math.h>
#include <fstream>
#include <queue>
#include <pthread.h>
#include <sys/soundcard.h>
Include dependency graph for test-EphysBoard.C:

Go to the source code of this file.

Functions

std::ofstream outFile ("Ephysdata.dat")
static void * getData (void *)
void processFrame (unsigned char *frame)
void processFrame2 (unsigned char *frame)
static int submain (int argc, char **argv)
int main (const int argc, char **argv)

Variables

std::queue< unsigned char * > dataCache
std::vector< float > signalWin
long int cnt = 0
pthread_mutex_t qmutex_data
pthread_mutex_t mutexDone
bool done = 0

Detailed Description

receive data from EphysBoard and plot it continuously

Definition in file test-EphysBoard.C.


Function Documentation

static void* getData ( void *   )  [static]

printf("synced");

Definition at line 71 of file test-EphysBoard.C.

References Timer::getSecs(), and Timer::reset().

Generated on Sun May 8 08:42:37 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3