SlsDetector client library and servers. First import.

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@1 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2009-10-09 14:10:09 +00:00
commit e2f9d69677
167 changed files with 36171 additions and 0 deletions

View File

@ -0,0 +1,34 @@
#ifndef USERS_FUNCTIONS_H
#define USERS_FUNCTIONS_H
/******************************************************************
Functions depending on the experimental setup should be defined here
******************************************************************/
#define PI 3.14159265358979323846
#ifdef __cplusplus
extern "C" {
#endif
float angle(int ichan, float encoder, float totalOffset, float conv_r, float center, float offset, float tilt, int direction);
float get_position();
int go_to_position(float p);
int go_to_position_no_wait(float p);
float get_i0();
#ifdef __cplusplus
};
#endif
#endif