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

Subject: VAL field of PV in ASYN driver
From: Vikram Bhagat <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 14 Jun 2013 07:46:45 -0700 (PDT)
Hi,
 
 
I want to know more about VAL field of PV in asynDriver.
 
as i understand of i defiend VAL field to some value in DB file then it sould be written on output.
 
I have develop my own driver to write value on serial port using asyn driver. and it is working fine.
 
if i write some value . it is output on port.
 
But if i write VAL field in DB file.   it is not writting that value to the output
 
 
The DB file content is as below
 
record (longout,"TEST:VAL")
{
        field(DESC, "New Variable")
        field(DTYP, "asynUInt32Digital")
        field(HOPR, "255")
        field(LOPR, "0")
        field(OUT, "@asynMask(port, 0,255) setportval")
        field(VAL, "7")
}
 
Even if i am tring to read same PV it gives value 0.
 
$ caget TEST:VAL
TEST:VAL   0
 
 
Actually i put VAL field for giving fixed output on serial port at the time of  IOC start bootup.  
 
Thanks
 
 

Replies:
Re: VAL field of PV in ASYN driver Andrew Johnson

Navigate by Date:
Prev: analog output record - constant DOL Rolf Keitel
Next: Re: GUI Control System Options Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: analog output record - constant DOL Benjamin Franksen
Next: Re: VAL field of PV in ASYN driver Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·