usersFunctions/usersFunctions.h

Go to the documentation of this file.
00001 #ifndef USERS_FUNCTIONS_H
00002 #define USERS_FUNCTIONS_H
00003 /******************************************************************
00004 
00005 Functions depending on the experimental setup should be defined here
00006 
00007 ******************************************************************/
00008 
00009 #define PI 3.14159265358979323846
00010 
00011 
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017   float angle(int ichan, float encoder, float totalOffset, float conv_r, float center, float offset, float tilt, int direction);
00018   float get_position();
00019   int go_to_position(float p);
00020   int go_to_position_no_wait(float p);
00021 
00022 
00023   float get_i0();
00024   
00025 
00026 
00027 
00028 
00029 #ifdef __cplusplus
00030 };
00031 #endif
00032 
00033 
00034 #endif

Generated on Tue Dec 1 15:31:44 2009 by  doxygen 1.4.7