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

Subject: ioc crash with ip module (synaps) TPG261 message too small=0
From: Heinz Junkes via Tech-talk <[email protected]>
To: Tech-talk <[email protected]>
Date: Wed, 13 Feb 2019 18:35:23 +0100
Using epics7
asyn Release 4-34
ip Release 2-20 XXX, 2018

if there is no TPG261 connected to the serial port, the ioc chrashes with 

2019/02/13 18:23:58.277 devTPG261::devTPG261Callback Val trARPES:HHG:ID message too small=0

is called in the st.cmd like

drvAsynIPPortConfigure("MOXA_9", "172.24.192.29:4009", 0, 0, 0)
asynSetTraceIOMask("MOXA_9", 0, 0x2)
asynSetTraceMask("MOXA_9", 0, 255)
dbLoadRecords("$(IP)/ipApp/Db/TPG261.db", "P=trARPES:, ADDR=1,TIMEOUT=5, GAUGE=HHG, PORT=MOXA_9")


Heinz


############################################################################
## EPICS R7.0.1.2-DEV
## EPICS Base built Oct 14 2018
############################################################################
2019/02/13 18:23:53.767 devTPG261::initCommon name=trARPES:HHG:SUNIT; command string=SET_UNIT command=3 address=1
2019/02/13 18:23:53.767 devTPG261::initCommon name=trARPES:HHG:ID; command string=GET_ID command=0 address=1
2019/02/13 18:23:53.767 devTPG261::initCommon name=trARPES:HHG:UNIT; command string=GET_UNIT command=2 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:PRES; command string=GET_PRESSURE command=1 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:SP1V; command string=GET_SPVAL1 command=6 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:SP2V; command string=GET_SPVAL2 command=9 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:START; command string=SET_SENSOR command=5 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:SET1; command string=SET_SP1 command=8 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:SET2; command string=SET_SP2 command=11 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:STATUS; command string=GET_SENSOR command=4 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:SP1S; command string=GET_SPS1 command=7 address=1
2019/02/13 18:23:53.768 devTPG261::initCommon name=trARPES:HHG:SP2S; command string=GET_SPS2 command=10 address=1
|019/02/13 18:23:54.269 devTPG261::buildCommand trARPES:HHG:ID len=4 string=|TID
2019/02/13 18:23:54.269 MOXA_9 addr -1 queueRequest priority 0 not lockHolder
2019/02/13 18:23:54.269 asynManager::portThread port=MOXA_9 callback
2019/02/13 18:23:54.269 MOXA_9 set Eos 2
\r\n
2019/02/13 18:23:54.269 172.24.192.29:4009 write.
2019/02/13 18:23:54.270 172.24.192.29:4009 write 4
TID\r
2019/02/13 18:23:54.270 wrote 4 to 172.24.192.29:4009, return asynSuccess.
2019/02/13 18:23:54.270 MOXA_9 wrote
TID\r
]019/02/13 18:23:54.270 devTPG261::devTPG261Callback Cmd trARPES:HHG:ID nwrite=4, output=[TID
2019/02/13 18:23:54.270 172.24.192.29:4009 read.
2019/02/13 18:23:54.270 172.24.192.29:4009 read 15
\377\373\001\377\373\003\377\373\000\377\375\001\377\375\000
2019/02/13 18:23:54.271 MOXA_9 read 15 bytes eom=0
\377\373\001\377\373\003\377\373\000iocRun: All initialization complete
\377\375\001\377\375\000
################################################# Create autosave monitor sets
2019/02/13 18:23:54.272 create_monitor_set("iocIOCINFRA_0.req", 5, "P=iocIOCINFRA:")
172.24.192.29:4009 read.
st.cmd line 64: Command create_monitor_set not found.
create_monitor_set("iocIOCINFRA_1.req", 30, "P=iocIOCINFRA:")
st.cmd line 65: Command create_monitor_set not found.
## Report Installed and Configured I/O-Hardware Information
dbior 0 1 > /epics/iocs/log/Database/iocIOCINFRA.dbior
dbhcr     > /epics/iocs/log/Database/iocIOCINFRA.dbhcr
dbl       > /epics/iocs/log/Database/iocIOCINFRA.dbl
## Start any sequence programs
#seq sncxxx,"user=epics"
|pics> 2019/02/13 18:23:55.768 devTPG261::buildCommand trARPES:HHG:PRES len=4 string=|PR1
2019/02/13 18:23:55.768 MOXA_9 addr -1 queueRequest priority 0 not lockHolder
2019/02/13 18:23:56.275 MOXA_9 read from low-level driver returned 1
2019/02/13 18:23:56.275 devTPG261::devTPG261Callback Cmd trARPES:HHG:ID nread=15, input=[������]
2019/02/13 18:23:56.275 172.24.192.29:4009 write.
2019/02/13 18:23:56.275 172.24.192.29:4009 write 1
\005
2019/02/13 18:23:56.275 wrote 1 to 172.24.192.29:4009, return asynSuccess.
2019/02/13 18:23:56.275 MOXA_9 wrote
\005
2019/02/13 18:23:56.275 devTPG261::devTPG261Callback Val trARPES:HHG:ID nwrite=1, output=[P]
2019/02/13 18:23:56.275 172.24.192.29:4009 read.
2019/02/13 18:23:58.277 MOXA_9 read from low-level driver returned 1
2019/02/13 18:23:58.277 devTPG261::devTPG261Callback Val trARPES:HHG:ID nread=0, input=[]
2019/02/13 18:23:58.277 devTPG261::devTPG261Callback Val trARPES:HHG:ID message too small=0

@@@ @@@ @@@ @@@ @@@
@@@ Received a sigChild for process 19516. The process was killed by signal 11
@@@ Current time: Wed Feb 13 18:23:58 2019
@@@ Child process is shutting down, auto restart is disabled
@@@ ^R or ^X restarts the child, ^Q quits the server
------------------------------------------------------------------------------
Fritz-Haber-Institut    | Phone:         (+49 30) 8413-4270
Heinz Junkes             | Fax (G3+G4):   (+49 30) 8413-5900
Faradayweg 4-6        | 
D - 14195 Berlin        | E-Mail:        [email protected]
------------------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Navigate by Date:
Prev: 2D waveform records Sobhani, Bayan via Tech-talk
Next: Data migration Steve Kinder - UKRI STFC via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: FW: 2D waveform records Mark Rivers via Tech-talk
Next: Fwd: ioc crash with ip module (synaps) TPG261 message too small=0 Heinz Junkes via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 14 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·