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: Re: Serial port COM10: not work?
From: Torsten Bögershausen <torsten.bogershausen@esss.se>
To: Eric Norum <eric@norum.ca>, Mark Rivers <rivers@cars.uchicago.edu>
Cc: "EPICS Tech-Talk \(tech-talk@aps.anl.gov\)" <tech-talk@aps.anl.gov>
Date: Thu, 1 Oct 2015 06:46:17 +0200
I propose the following:
-If the device name passed to drvAsynSerialPortConfigure starts with  ‘\’
 then assume the user has used a device name, and use it directly.

-If the device name does not begin with ‘\’ then prepend “\\.\”.
That sounds ideal.

Minor nit and suggestion for improvement to avoid futere suprises:
If the device name does not start with
'\\.\', prepend '\\.\'

Written in C-language: "\\\\.\\"




References:
Serial port COM10: not work? Heesterman, Peter J
Re: Serial port COM10: not work? Jack
RE: Serial port COM10: not work? Mark Rivers
Re: Serial port COM10: not work? Eric Norum
RE: Serial port COM10: not work? Mark Rivers
Re: Serial port COM10: not work? Eric Norum

Navigate by Date:
Prev: RE: New sequencer releases Mark Rivers
Next: RE: Serial port COM10: not work? Heesterman, Peter J
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: Serial port COM10: not work? Eric Norum
Next: RE: Serial port COM10: not work? Heesterman, Peter J
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 ·