Experimental Physics and
| |||||||||||||||
|
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...
| ||||||||||||||
ANJ, 24 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |