EPICS Controls 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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Asyn
From: "Martin L. Smith" <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Wed, 17 Sep 2014 12:04:36 -0500
I do this now using a scalcout and stringout records as such:

record(stringout,"$(P)ReadDioIn") {
        field(DESC,"Read DIO Input Command")
        field(DTYP,"Soft Channel")
        field(UDF,"0")
        field(VAL,"/DIO/read")
}
record(scalcout,"$(P)DioIn") {
        field(DESC,"Read DIO Inputs")
        field(DTYP,"Soft Channel")
        field(CALC,"PRINTF('%s',AA)")
        field(INAA,"$(P)ReadDioIn.VAL NPP NMS")
        field(OUT,"$(P)DIO.AOUT PP NMS")
        field(SCAN,"2 second")
}

In this example every 2 seconds the scalcout processes and sends the string
/DIO/read to an asyn record AOUT field ($(P)DIO.AOUT) with a PP link which
causes the asyn record to process. So the string to send is in the stringout
record and the scalcout just formats the string.

Marty

On 09/17/2014 11:54 AM, priya tiwari wrote:
Actually i am just trying,it was not correct. but i want  give command in string
format from one record to AOUT field of asyn record.

On Wed, Sep 17, 2014 at 5:54 PM, Mark Rivers <[email protected]
<mailto:[email protected]>> wrote:

    Did you try connecting the OUT field of the sCalcout record to the AOUT
    field of the asyn record, using the PP attribute?

    Mark

    ________________________________
    From: [email protected] <mailto:[email protected]>
    [[email protected] <mailto:[email protected]>] on
    behalf of priya tiwari [[email protected]
    <mailto:[email protected]>]
    Sent: Wednesday, September 17, 2014 6:12 AM
    To: [email protected] <mailto:[email protected]>
    Subject: Asyn

    Hello,
                I put the command such as *IDN?\n in INP field of waveform
    record and i want to retrieve this command in AOUT field of ASYN record.How
    to link it plz give suggestions...


    i am trying like this but it is wrong plz give me actual solution. I am
    attaching snapshot.




Replies:
Re: Asyn priya tiwari
References:
Asyn priya tiwari
RE: Asyn Mark Rivers
Re: Asyn priya tiwari

Navigate by Date:
Prev: Re: Asyn priya tiwari
Next: RE: Stream device protocol files question? Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Asyn priya tiwari
Next: Re: Asyn priya tiwari
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·