- Fixed a singlex death when there was no lambda. Was a problem during

shutdown when nothing works as it should
- Made an attempt to have all error message printed on demand
- Added a tricsswap feature to sinqhttp which swaps the data right for SICS
- Edited speed for phytron driver
- First attack on adding a misalignment calculation to tasub
- Added a test protocol for scriptcontext which can be configured.


SKIPPED:
	psi/sinqhttp.c
This commit is contained in:
koennecke
2010-03-09 13:12:01 +00:00
parent 09cc25ec5b
commit 40ff36d142
13 changed files with 282 additions and 19 deletions

View File

@ -234,6 +234,18 @@ int calcTasPowderAngles(ptasMachine machine, tasQEPosition qe,
*/
int calcTasPowderPosition(ptasMachine machine, tasAngles angles,
ptasQEPosition qe);
/**
* calculate the misalignment of the crystal towards the goniometers.
* This is for people who love to manually adjust their crystal
* until it is paralel with the goniometers which in turn helps them
* understand what they are doing.
* @param machine The spectrometer parameters.
* @param qe The current qe position
* @param misalign An output parameter which then holds the value
* of the misalignment.
* @return 1 on success, a negative error code on errors
*/
int calcTasMisalignment(ptasMachine machine, tasQEPosition qe, double *misalign);
/*======================= TAS Logic =====================================*/
/**
* set triple axis parameters, thereby taking the tasMode into account