1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 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 2012 2013 2014 2015 2016 <2017> 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: CA client within Asyn |
From: | "Mooney, Tim M." <[email protected]> |
To: | Eric Norum <[email protected]>, Benoit RAT <[email protected]> |
Cc: | EPICS mailing list <[email protected]> |
Date: | Tue, 11 Apr 2017 15:51:24 +0000 |
Hi Benoit,
I second Eric's suggestion to look into using the sequencer. If you decide, nevertheless, to stay in C code... makeBaseApp.pl will make several kinds of example applications, including two Channel Access examples. See the Application Developer's Guide. I don't know of other /good/ examples (that is, examples that were intended primarily to teach or demonstrate) of doing CA in a thread, but there are several examples: motorUtil* in the motor module. recDynLink.c in the sscan module save_restore.c in the autosave module All of these modules are on github: https://github.com/epics-modules/ Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov) Advanced Photon Source, Argonne National Lab From: [email protected] [[email protected]] on behalf of Eric Norum [[email protected]]
Sent: Tuesday, April 11, 2017 10:00 AM To: Benoit RAT Cc: EPICS mailing list Subject: Re: CA client within Asyn Have you investigated the EPICS sequencer?
I don’t think I’ve heard of anyone attempting to issue channel access calls from an ASYN thread.
--
Eric Norum [email protected] |