Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: ASYN Question
From: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "John Dobbins" <jad@lepp.cornell.edu>, <tech-talk@aps.anl.gov>
Date: Fri, 20 Jan 2006 19:18:29 -0600
John,
 
Yes, you are correct.  Your GPIBCVTIO routine executes in the port thread for that asyn port, and it blocks all other I/O for that port.  You are guaranteed that all I/O you do is "atomic" and no other I/O can interfere, as long as all other I/O to that device is also using asyn.
 
Mark
 

________________________________

From: John Dobbins [mailto:jad@lepp.cornell.edu]
Sent: Fri 1/20/2006 6:26 PM
To: tech-talk@aps.anl.gov
Subject: ASYN Question



Dear All,

I have a serial device for which I am trying to implement Device Support
using ASYN. This is an EOS-901 from Eye on Science, a VAC ION Pump
controller.

There is one parameter, the Soft_Current_Trip_Level that requires the
following procedure:

1) Send:  "UHV99S"           (constant string)

2) Read:  "Enter Alarm Limit\r"

(the unit will now wait until a new value is sent as follows)

3) Send:  "0.000001\r"       (value dependent string)

4) Read:  "new limit=1.00e-06\r"


I can write a GPIBCVTIO routine that will accomplish all four
steps. Am I correct in assuming that no other gpibCmd for this device will
process while my gpibCmd with the GPIBCVTIO routine is executing? i.e. the four
steps cannot be interrupted by a request from some other periodically scanned
record associated with this device?

Thanks,

John Dobbins

Laboratory for Elementary Particle Physics
Cornell University
Ithaca, NY







Navigate by Date:
Prev: ASYN Question John Dobbins
Next: Re: Timestamp record? UPTIME Miroslaw Dach
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: ASYN Question John Dobbins
Next: Agilent 34401A DVM support? Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·