did not have enough counts - Reduced polling frequency in emon - Fixed a scriptcontext bug which would cause it to dump core in SctTransact on interrupts - Fixed an issue with missing <nl> at the end of batch files - Added a feature which does not call halt when counting stops in hmcontrol.c This is necessary for the BOA CCD - Initalized doNotFree properly in hipadaba.c - Added the travelling salesman reflection measurement algorithm - Added another component to amorset - Removed old SicsWait from nserver.c - Added a means to nxscript to write 16 bit data for BOA - Modified tasub to accept a drivabel as a motor and not only a motor. This became necessary to make EIGER work as A2 on EIGER is a virtual motor
29 lines
992 B
C
29 lines
992 B
C
|
|
/*---------------------------------------------------------------------
|
|
AMOR component handling module. For the new (2005) calculation of the
|
|
positions using the beam height as zero.
|
|
|
|
copyright: see file COPYRIGHT
|
|
|
|
Mark Koennecke, October 2005
|
|
-----------------------------------------------------------------------*/
|
|
#ifndef AMORCOMP
|
|
#define AMORCOMP
|
|
#include <stdio.h>
|
|
#include <sics.h>
|
|
|
|
typedef struct {
|
|
int activeFlag; /* component present */
|
|
double markOffset; /* offset mark to real */
|
|
double scaleOffset; /* offset of the scale */
|
|
double readPosition; /* the position as read */
|
|
} amorComp, *pamorComp;
|
|
/*----------------------------------------------------------------------*/
|
|
double calcCompPosition(pamorComp comp);
|
|
int handleCompCommand(pamorComp comp, SConnection *pCon,
|
|
int argc, char *argv[]);
|
|
int saveAmorComp(FILE *fd, char *name, char *compname, pamorComp comp);
|
|
|
|
#endif
|
|
|