EPICS Home

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  2015  2016  2017  <20182019  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  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Stream device with non-standard baudrate
From: Konstantin Kr <[email protected]>
To: [email protected]
Date: Tue, 12 Jun 2018 10:20:11 +0200
Dear All,

I have a device which can be communicated with via serial port but at a strange baudrate of 3062500. This value has been set by the manufacturer and cannot be changed.  So, I created a simple IOC using StreamDevice to communicate with it. But when I run the IOC it gives me this:

drvAsynSerialPortConfigure("SERIALPORT","/dev/ttyUSB5",0,0,0) 

asynSetOption("SERIALPORT",-1,"baud","3062500") setOption failed Unsupported data rate (3062500 baud)

So, the question is:  is it possible to make StreamDevice work with such non-standard baudrate and how?  If not, is there any way around it?

Thank you.
Konstantin

========================================
Dr. Konstantin Kruchinin
Researcher
ELI-Beamlines
Institute of Physics of the Czech Academy of Science
Fyzikální ústav AV ČR, v.v.i.
Za Radnicí 835
Dolní Břežany 252 41 
======================================== 

Replies:
Re: Stream device with non-standard baudrate Dirk Zimoch

Navigate by Date:
Prev: Re: MVME3100 FPU Support on RTEMS 4.10.2 Sebastian Huber
Next: Re: Stream device with non-standard baudrate Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: SNMP device support 吴煊
Next: Re: Stream device with non-standard baudrate Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024