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

Subject: Re: [ASYN] connect/disconnect
From: Pavel Masloff <[email protected]>
To: Mark Rivers <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Sun, 29 Apr 2012 18:14:23 +0400
Thanks Mark!

This one works on Windows using COM port. I didn't know that one can use a serial port in Linux more than by 1 application.
So on Windows I just disconnect from the device by setting its CNT asyn record to 0. Then reconnect. Neat!


On Sat, Apr 28, 2012 at 5:55 PM, Mark Rivers <[email protected]> wrote:
Is this a local serial port, or on a terminal server?  What operating system?

You should be able to do disconnect from the device in asyn with pasynCommon->disconnect(), and that should free up the serial port for other applications.  You may not even need to do this if the OS lets more than 1 application use the serial port at once.

Mark


________________________________
From: Pavel Masloff [[email protected]]
Sent: Saturday, April 28, 2012 7:12 AM
To: Mark Rivers
Cc: EPICS Tech Talk
Subject: [ASYN] connect/disconnect

Hello Mark, gentlemen


I am connecting to a device over RS232 using ASYN.
Can I disconnect from the device without stopping the IOC and connect to the device via Python for example?

I want to save the waveforms from an oscilloscope by other means than EPICS (Python). Then, when I have saved them, I want to use the device again by means of EPICS.

--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01



--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01


References:
[ASYN] connect/disconnect Pavel Masloff
RE: [ASYN] connect/disconnect Mark Rivers

Navigate by Date:
Prev: RE: [ASYN] connect/disconnect Mark Rivers
Next: Re: [Scopes] BMP image record?? Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: [ASYN] connect/disconnect Mark Rivers
Next: 9th NOBUGS conference announcement - registration open Tobias.Richter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024