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

Subject: Re: Problem: nozzle exchanger Local/Remote pv value is not received
From: Mark Rivers <[email protected]>
To: 박무진 <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 24 Dec 2015 15:06:15 +0000
You should enable asynTrace on the $(PORT) and $(A) to see what is actually happening with communication with the device.

asynSetTraceIOMask($(PORT), $(A), 2)
asynSetTraceMask($(PORT), $(A), 9)

Mark


Sent from my iPhone

On Dec 24, 2015, at 3:13 AM, 박무진 <[email protected]<mailto:[email protected]>> wrote:


Hello..



i'm reparing the ioc of Nozzle Exchanger.



Now, pv value (Local/Remote) is viewing in medm... but this is decoy... i think it is default value.

when i switch Remote/Local S/W in Nozzle Exchanger, pv value in medm is not changed.



this pv value is a valuable data?

 i know "st.cmd" deamon is ioc deamon. so i stoped "st.cmd" deamon.

and i see all of pv value in medm is blanked. and i started "st.cmd" so, i see all of py value is displayed (but these value is not correct)



and i updated .db of device and i restart ioc deamon

i add the pv object in medm. and i see the  default value of added pv in medm



is this situation correct?



somthing is missed..



-----------------------------------------------------------------

devNozzleExchange.db

-------------------------------------------------------------------

record(bi, "$(P)$(D):GetRemoteSta")

{

    field(DESC, "Local/Remote Status")

    field(DTYP, "stream")

    field(INP,  "@devNozzleExchange.proto GetRemoteSta $(PORT) $(A)")

    field(ZNAM, "Local")

    field(ONAM, "Remote")

    field(SCAN, ".2 second")

    field(FLNK, "$(P)$(D):GetCryoSolSta")

}

...

-----------------------------------------------------------------------

-----------------------------------------------------------------------

devNozzleExchage.proto

-----------------------------------------------------------------------

@writetimeout { disconnect; }

@replytimeout { disconnect; }

@readtimeout  { disconnect; }

@mismatch     { disconnect; }



ReplyTimeout = 1200;

InTerminator = "\r\n";

OutTerminator = "\r\n";



#

# Measure current

#

GetRemoteSta {

    out "!50SWS";

    in "?50%1d";

    ExtraInput = Ignore;

}

GetCryoSolSta {

    out "!51SOL";

    in "?51%1d%*2d";

    ExtraInput = Ignore;

}

.....
-----------------------------------------------------------------------------

this is code...







블로그서명

[블로그]<http://blog.naver.com/pmjzzang78.do>      진스<http://blog.naver.com/pmjzzang78.do>
<http://blog.naver.com/pmjzzang78.do>
[http://mail.naver.com/readReceipt/notify/?img=bdRCDNG8WBgZhAn%2FFr%2B5FzJSM4K9MouXFzuZKrpCKqgwFzkvKxi4p6FCazEdpvIo%2BrkSKoU5W4d5W4C5bX0q%2BzkR74FTWx%2Fs%2Bzko1V9dM6wOtzJmbZlCW4m5prer.gif]


References:
Problem: nozzle exchanger Local/Remote pv value is not received 박무진

Navigate by Date:
Prev: Problem: nozzle exchanger Local/Remote pv value is not received 박무진
Next: APS Shutdown and Network Maintenance Johnson, Andrew N.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem: nozzle exchanger Local/Remote pv value is not received 박무진
Next: APS Shutdown and Network Maintenance Johnson, Andrew N.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 24 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·