From b06a473cf5fd807e42460617018e054e75415b09 Mon Sep 17 00:00:00 2001
From: cvs
Date: Tue, 22 Apr 2003 09:29:13 +0000
Subject: [PATCH] - fixed a anticollider bug - fixed problems with the
synchronization code - fixed some small TASP problems
---
A1931.c | 1 -
SCinter.c | 2 +-
anticollider.c | 2 +-
doc/user/samenv.htm | 31 +++++++++++++++++++++++++++++
histmem.c | 1 +
motor.c | 2 ++
simdriv.c | 39 +++++++++++++++++++++++++++++++++---
synchronize.c | 48 ++++++++++++++++++++++++++++++++++++++-------
tasinit.c | 38 +++++++++++++++++++++++++++++++++++
9 files changed, 151 insertions(+), 13 deletions(-)
diff --git a/A1931.c b/A1931.c
index b58c4824..a0ec221a 100644
--- a/A1931.c
+++ b/A1931.c
@@ -20,7 +20,6 @@
#include "evdriver.i"
#include "gpibcontroller.h"
#include "A1931.h"
-
/*========================== private data structure ====================*/
typedef struct {
int sensor; /* the control sensor */
diff --git a/SCinter.c b/SCinter.c
index 2fab2c72..2625f31b 100644
--- a/SCinter.c
+++ b/SCinter.c
@@ -392,7 +392,7 @@ extern char *SkipSpace(char *pPtr);
}
if(pCurrent->pName)
{
- printf("Deleting %s\n",pCurrent->pName);
+ /* printf("Deleting %s\n",pCurrent->pName); */
free(pCurrent->pName);
}
pTemp = pCurrent->pNext;
diff --git a/anticollider.c b/anticollider.c
index b4f51aad..3ccc82a8 100644
--- a/anticollider.c
+++ b/anticollider.c
@@ -303,7 +303,7 @@ int AntiColliderAction(SConnection *pCon, SicsInterp *pSics,
if(argc > 1){
if(strcmp(argv[1],"clear") == 0){
- if(!SCMatchRights(pCon,usMugger)){
+ if(!SCMatchRights(pCon,usUser)){
return 0;
}
LLDdelete(self->sequenceList);
diff --git a/doc/user/samenv.htm b/doc/user/samenv.htm
index e4c7cca0..04bba803 100644
--- a/doc/user/samenv.htm
+++ b/doc/user/samenv.htm
@@ -24,6 +24,7 @@ controllers.
controller.
Eurotherm Temperature Controller.
Bruker Magnet Controller.
+The Risoe A1931 Temperature Controller.
The PSI-EL755 Magnet Controller.
The PSI-DSP Magnet Controller, also known as
SLS controller.
@@ -629,6 +630,35 @@ to be configured manually. For details see the manual coming with the machine.
environment controller could not be implemented.
+
+
+This is a temperature controller of unknown origin (probably built at
+Risoe) which is coming with the Risoe instruments. This temperature
+controller is connected to the computer systems through a GPIB bus and
+controller. A A1931 temperature controller is configured into SICS
+through the command:
+
+evfactory new temperature-name a1931 gpib-controller-name
+
+This creates a new command temperature-name. gpib-controller-name is
+the name of a GPIB controller within SICS. A GPIB controller is
+configured into SICS with the command MakeGPIB as described in the
+SICS managers documentation.
+
+
+A A1931 temperature device understands a couple of additional commands
+on top of the standard set:
+
+- temperature sensor val
+
- The A1931 can switch control to various sensors. This command
+allows to query the control sensor (command without parameter) or set
+the control sensoe (command with parameter).
+
- temperature file filename
+
- The A1931 can be configured through files containing calibration
+commands. Sich file can be loaded into the A1931 through the file
+subcommand. The full path of filename must be given.
+
+
This is magnet controller developed by the electronics group at
@@ -691,3 +721,4 @@ other environment device.