- A few fixes to the hsitogram memory codes
- Many fixes for the triple axis code
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#include "scan.i"
|
||||
#include "tas.h"
|
||||
|
||||
extern int getSRO(SConnection *pCon, float *fVal); /* tasutil.c */
|
||||
|
||||
/*
|
||||
As variables may be accessed in storage order, it is necessary to
|
||||
know the order of the motors
|
||||
@@ -344,6 +346,11 @@ int TASFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
{
|
||||
RegisterCallback(pVar->pCall,VALUECHANGE,TimerCallback,pNew,NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
initialize SRO value
|
||||
*/
|
||||
getSRO(pCon,&pNew->oldSRO);
|
||||
|
||||
/* install TAS commands */
|
||||
iError = AddCommand(pSics,"dr",TASDrive,TASKill,pNew);
|
||||
|
||||
Reference in New Issue
Block a user