- Added a protocol driver for the munich sputter machine

- Added a multicountsersec to teplace hmcontrol and multicounter
- Fixed a case sensitivity bug in haddcheck
- Made oscillate work with second generation motors for POLDI
- Added a time stamper to trace. Now there will be time stamps in trace files which allow
  to correlate things from the master log with the trace.
- Updated polterwrite.
- Updated testprot to work with the behave test


SKIPPED:
	psi/make_gen
	psi/polterwrite.c
	psi/psi.c
	psi/sputterprot.c
This commit is contained in:
koennecke
2013-11-04 12:55:15 +00:00
parent 8ecf2f37a5
commit ad241bd99e
15 changed files with 829 additions and 190 deletions

View File

@ -103,13 +103,18 @@ static void findResponse(Ascon *a)
dict = (pStringDict)a->private;
status = StringDictGet(dict,GetCharArray(a->wrBuffer),response, sizeof(response));
if(status != 1){
if(StringDictGet(dict,"echofail",response,sizeof(response)) == 1) {
DynStringConcat(a->rdBuffer,GetCharArray(a->wrBuffer));
return;
} else {
a->state = AsconFailed;
DynStringConcat(a->errmsg,"ERROR: no response found in dictionary for ");
DynStringConcat(a->errmsg,GetCharArray(a->wrBuffer));
return;
}
}
/**
Tclescape is an escape string/character which idetifies a response as a tcl invocation.
Tclescape is an escape string/character which identifies a response as a tcl invocation.
Thus the algorithm runs:
* Find out if there is a Tcl escape
* If so: