EPICS Controls 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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Response Time
From: Eric Norum <[email protected]>
To: Yasemin Barutçu <[email protected]>
Cc: "[email protected] Tech-Talk" <[email protected]>
Date: Mon, 19 Aug 2013 08:41:57 -0700
You might want to add
asynSetOption("serial", 0, "crtscts", "N")
to ensure that you're not attempting to use RTS/CTS hardware handshaking.

Do you have any type of serial line analyzer to check that the wiring is set up properly?  Even a simple little device with indicator LEDs can be very useful.

Also, try just jumpering pins 2 and 3 on the PC serial port connector.   Then confirm that you see the '*IDN?', and whatever terminators you're using echoed back.

On Aug 19, 2013, at 8:36 AM, Yasemin Barutçu <[email protected]> wrote:

My st.cmd file includes following lines:

  drvAsynSerialPortConfigure("serial","/dev/ttyS0")

  asynSetOption ("serial",0,"baud","9600")

  asynSetOption ("serial",0,"bits","8")

  asynSetOption ("serial",0,"parity","none")

  asynSetOption ("serial",0,"stop","1")

  asynSetTraceMask("serial",-1,0x9)

  asynSetTraceIOMask("serial",-1,0x2)


-- 
Eric Norum
[email protected]


References:
Response Time Yasemin Barutçu
Re: Response Time Eric Norum

Navigate by Date:
Prev: RE: Modbus write register update when locally modified Mark Rivers
Next: RE: asynPortDriver question Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Response Time Eric Norum
Next: Re: Response Time Pearson, Matthew R.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·