Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
<== Date ==> <== Thread ==>

Subject: why failed without changes
From: 梁雅翔 <liangyx@ihep.ac.cn>
To: tech-talk@aps.anl.gov
Date: Mon, 12 Oct 2015 22:47:54 +0800 (GMT+08:00)
Hi, everyone:

    My environment: SL 6.0, epics 3.14.12.1, synApps 5.6
    I have a strang question about controling a counter(974) with synApp5.6.
    I successfully used it before. Now,I failed control it, even I failed control it with Labview(windows program). 
    Some more information:I do nothing except connecting a signal generator to 974, when I disconnected the signal generator, it failed in control.


**********************************
Following is part of the st.cmd.( I think it is the information)

####
drvAsynSerialPortConfigure("serial_974","/dev/ttyS0",3,0,0)
asynSetOption("serial_974",0,"baud","9600")
asynSetOption("serial_974",0,"bits","8")
asynSetOption("serial_974",0,"parity","none")
asynSetOption("serial_974",0,"stop","2")
#asynSetOption("serial_974",0,"clocal","Y")
#asynSetOption("serial_974",0,"crtscts","N")
asynOctetSetInputEos("serial_974",0,"\r\n")
asynOctetSetOutputEos("serial_974",0,"\r\n")
asynSetTraceIOMask("serial_974",0,0x2)
asynSetTraceMask("serial_974",0,0x9)
asynOctetConnect("serial_974","serial_974")
asynOctetWriteRead("serial_974","INIT")
2015/10/12 22:01:57.625 /dev/ttyS0 write 6
INIT\r\n
2015/10/12 22:01:58.725 Error in WriteRead, nout 4 ninp=0 error 
###################### setup 974 #############################
initScaler974("serial974","serial_974",0,100)
########################################################

thanks for your help,
Liang


Replies:
RE: why failed without changes Mark Rivers

Navigate by Date:
Prev: Re: how to make AXIS 214 PTZ network camera into EPICS and CSS Mark Engbretson
Next: RE: why failed without changes Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
Navigate by Thread:
Prev: Re: how to make AXIS 214 PTZ network camera into EPICS and CSS Kevin Peterson
Next: RE: why failed without changes Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·