Cleaned up ANSTO code to merge with sinqdev.sics
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
This commit is contained in:
16
devser.h
16
devser.h
@@ -207,4 +207,20 @@ char *DevStatus(DevSer *devser);
|
||||
*/
|
||||
double DevGetSetTimeout(DevSer *devser, double timeout, int setmode);
|
||||
|
||||
/**
|
||||
* \brief set reconnectInterval
|
||||
* \param a the Ascon
|
||||
* \param interval the interval to set (0: no reconnect, -1: read value)
|
||||
* \return the value
|
||||
*/
|
||||
int DevReconnectInterval(DevSer *devser, int interval);
|
||||
|
||||
/**
|
||||
* Drive devser processing. Normally called as a SICS task
|
||||
* @param ds The device serialiser to run
|
||||
* @return 1 when continuing the task, 0 when the task is to be stopped
|
||||
*/
|
||||
int DevQueueTask(void *ds);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user