fixed gui expecting more databytes from receiver, cuz of probes changing databytes

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@359 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-11-23 16:15:26 +00:00
parent 5236aa7cce
commit d0d7eac553
7 changed files with 83 additions and 56 deletions

View File

@ -104,7 +104,7 @@ public:
/**
* Close File
*/
static void closeFile(int p);
//static void closeFile(int p);
/**
* Starts Receiver - starts to listen for packets
@ -186,7 +186,7 @@ private:
int framesInFile;
/** if the listening thread is running*/
static int listening_thread_running;
//static int listening_thread_running;
/** thread listening to packets */
pthread_t listening_thread;
@ -195,7 +195,7 @@ private:
runStatus status;
/** File Descriptor */
static FILE *sfilefd;
//static FILE *sfilefd;
/** Receiver buffer */
char buffer[BUFFER_SIZE];
@ -206,6 +206,12 @@ private:
/** Server UDP Port*/
int server_port;
public:
/** File Descriptor */
static FILE *sfilefd;
/** if the listening thread is running*/
static int listening_thread_running;
};
/*