- New batch file management module
- New oscillator module - Bug fixes SKIPPED: psi/buffer.c psi/el734hp.c psi/el737hpdriv.c psi/make_gen psi/nextrics.c psi/nxamor.c psi/pimotor.c psi/polterwrite.c psi/psi.c psi/swmotor2.c psi/tasscan.c psi/tricssupport.c psi/tricssupport.h psi/tecs/make_gen psi/utils/ecb_load_new/ecb_load.c psi/utils/ecb_load_new/ecb_load.h psi/utils/ecb_load_new/ecbdriv_els.c psi/utils/ecb_load_new/gpib_els.c psi/utils/ecb_load_new/makefile psi/utils/ecb_load_new/makefile_EGPIB psi/utils/ecb_load_new/makefile_GPIB
This commit is contained in:
34
oscillate.h
Normal file
34
oscillate.h
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
Oscillator runs a motor back and forth between its software limits.
|
||||
|
||||
copyright: see file COPYRIGHT
|
||||
|
||||
Mark Koennecke, November 2004
|
||||
------------------------------------------------------------------------*/
|
||||
#ifndef SICSOSCILLATOR
|
||||
#define SICSOSCILLATOR
|
||||
#include "motor.h"
|
||||
|
||||
|
||||
typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
pMotor pMot;
|
||||
int oldRights;
|
||||
float upperLimit;
|
||||
float lowerLimit;
|
||||
int nextTargetFlag;
|
||||
long taskID;
|
||||
int stopFlag;
|
||||
SConnection *pCon;
|
||||
int errorCount;
|
||||
} Oscillator, *pOscillator;
|
||||
|
||||
/*---------------------------------------------------------------------*/
|
||||
int MakeOscillator(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int OscillatorWrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user