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 2019 2020 2021 <2022> 2023 2024 2025 | 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 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Unknown error with an equipment |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | TONY YU <tonyyucom at gmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 22 Mar 2022 02:41:12 +0000 |
Can you also include the asynTrace output in that? It looks like StreamDevice says it is sending the string it should. What is the evidence that it is not working?
Mark
From: TONY YU <tonyyucom at gmail.com>
Sent: Monday, March 21, 2022 11:58 AM To: Mark Rivers <rivers at cars.uchicago.edu> Cc: Andrew Johnson <anj at anl.gov>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Re: Unknown error with an equipment Hi Mark,
I tried to set DRVH to 200 in SetEpass and the asynTrace output of HSA still shows 1638.4000. Also I use caput in another terminal and the value of the Epass is still 858.475, which is equal to 1638.4000 in HSA.
Then I enabled StreamDebug and here is the partial report for setting the Epass I believe. In this case, I tried to set Epass to be 100 so that the HSA value is equal to 190.850002, but there is no response to the change.
2022/03/21 16:27:13.813582 IDEA AsynDriverInterface.cc:1438: AsynDriverInterface::handleRequest(ImpMik:IDEA:SetEpass) Lock
2022/03/21 16:27:13.813598 IDEA AsynDriverInterface.cc:565: AsynDriverInterface::lockHandler(ImpMik:IDEA:SetEpass) 2022/03/21 16:27:13.813615 IDEA AsynDriverInterface.cc:503: AsynDriverInterface::connectToAsynPort(ImpMik:IDEA:SetEpass) 2022/03/21 16:27:13.813589 cbLow StreamEpics.cc:896: streamRecordProcessCallback(ImpMik:IDEA:SetRange) processing record 2022/03/21 16:27:13.813638 IDEA AsynDriverInterface.cc:536: AsynDriverInterface::connectToAsynPort(ImpMik:IDEA:SetEpass) is already connected 2022/03/21 16:27:13.813663 cbLow StreamEpics.cc:699: Stream::process(ImpMik:IDEA:SetRange) ready. don't convert 2022/03/21 16:27:13.813697 IDEA 2022/03/21 16:27:13.813718 cbLow StreamEpics.cc:901: streamRecordProcessCallback(ImpMik:IDEA:SetRange) processing record done StreamCore.cc:817: StreamCore::lockCallback(ImpMik:IDEA:SetEpass, status=Success) 2022/03/21 16:27:13.813753 IDEA AsynDriverInterface.cc:588: AsynDriverInterface::writeRequest(ImpMik:IDEA:SetEpass, "Set hsa 190.850002<0d><0a>", 100 msec) 2022/03/21 16:27:13.813779 IDEA AsynDriverInterface.cc:1438: AsynDriverInterface::handleRequest(ImpMik:IDEA:SetEpass) Write 2022/03/21 16:27:13.813801 IDEA AsynDriverInterface.cc:616: AsynDriverInterface::writeHandler(ImpMik:IDEA:SetEpass) 2022/03/21 16:27:13.814939 IDEA AsynDriverInterface.cc:667: AsynDriverInterface::writeHandler(ImpMik:IDEA:SetEpass): write(..., outputSize=20, written=20) [timeout=0.1 sec] = asynSuccess 2022/03/21 16:27:13.814975 IDEA AsynDriverInterface.cc:676: AsynDriverInterface::writeHandler(ImpMik:IDEA:SetEpass): device is connected 2022/03/21 16:27:13.814994 IDEA StreamCore.cc:849: StreamCore::writeCallback(ImpMik:IDEA:SetEpass, status=Success) 2022/03/21 16:27:13.815008 IDEA StreamCore.cc:552: StreamCore::evalCommand(ImpMik:IDEA:SetEpass): activeCommand = in 2022/03/21 16:27:13.815026 IDEA AsynDriverInterface.cc:752: AsynDriverInterface::readRequest(ImpMik:IDEA:SetEpass, 1000 msec reply, 5000 msec read, expect 0 bytes, async=no) 2022/03/21 16:27:13.815053 IDEA AsynDriverInterface.cc:777: AsynDriverInterface::readRequest ImpMik:IDEA:SetEpass: queueRequest(..., priority=0, queueTimeout=1 sec) = asynSuccess [async=false] 2022/03/21 16:27:13.815088 IDEA AsynDriverInterface.cc:1438: AsynDriverInterface::handleRequest(ImpMik:IDEA:SetEpass) Read 2022/03/21 16:27:13.815104 IDEA AsynDriverInterface.cc:837: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass) input EOS set to <0d><0a> 2022/03/21 16:27:13.815118 IDEA AsynDriverInterface.cc:896: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): ioAction=Read read(..., bytesToRead=1, ...) [timeout=1 sec] 2022/03/21 16:27:13.824096 IDEA AsynDriverInterface.cc:903: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): read returned asynSuccess: ioAction=Read received=1, eomReason=CNT, buffer="#" 2022/03/21 16:27:13.824142 IDEA AsynDriverInterface.cc:910: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): device is now connected 2022/03/21 16:27:13.824160 IDEA AsynDriverInterface.cc:948: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): received 1 of 1 bytes "#" eomReason=CNT 2022/03/21 16:27:13.824184 IDEA StreamCore.cc:938: StreamCore::readCallback(ImpMik:IDEA:SetEpass, status=StreamIoSuccess input="#", size=1) 2022/03/21 16:27:13.824207 IDEA StreamCore.cc:994: StreamCore::readCallback(ImpMik:IDEA:SetEpass) inputBuffer="#", size 1 2022/03/21 16:27:13.824229 IDEA StreamCore.cc:1039: StreamCore::readCallback(ImpMik:IDEA:SetEpass) inTerminator <0d><0a> not found 2022/03/21 16:27:13.824247 IDEA StreamCore.cc:1075: StreamCore::readCallback(ImpMik:IDEA:SetEpass) wait for more input 2022/03/21 16:27:13.824263 IDEA AsynDriverInterface.cc:1074: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass) readMore=-1 bytesToRead=63 2022/03/21 16:27:13.824284 IDEA AsynDriverInterface.cc:896: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): ioAction=Read read(..., bytesToRead=63, ...) [timeout=5 sec] 2022/03/21 16:27:13.824770 IDEA AsynDriverInterface.cc:903: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): read returned asynSuccess: ioAction=Read received=9, eomReason=EOS, buffer="0E HSA ok" 2022/03/21 16:27:13.824822 IDEA AsynDriverInterface.cc:910: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): device is now connected 2022/03/21 16:27:13.824848 IDEA AsynDriverInterface.cc:948: AsynDriverInterface::readHandler(ImpMik:IDEA:SetEpass): received 9 of 63 bytes "0E HSA ok" eomReason=EOS 2022/03/21 16:27:13.824873 IDEA StreamCore.cc:938: StreamCore::readCallback(ImpMik:IDEA:SetEpass, status=StreamIoEnd input="0E HSA ok", size=9) 2022/03/21 16:27:13.824897 IDEA StreamCore.cc:994: StreamCore::readCallback(ImpMik:IDEA:SetEpass) inputBuffer="#0E HSA ok", size 10 2022/03/21 16:27:13.824922 IDEA StreamCore.cc:1039: StreamCore::readCallback(ImpMik:IDEA:SetEpass) inTerminator <0d><0a> not found 2022/03/21 16:27:13.824946 IDEA StreamCore.cc:1046: StreamCore::readCallback(ImpMik:IDEA:SetEpass) end flag received 2022/03/21 16:27:13.824966 IDEA StreamCore.cc:1104: StreamCore::readCallback(ImpMik:IDEA:SetEpass) input line: "#0E HSA ok" 2022/03/21 16:27:13.824988 IDEA StreamCore.cc:552: StreamCore::evalCommand(ImpMik:IDEA:SetEpass): activeCommand = end 2022/03/21 16:27:13.825010 IDEA StreamCore.cc:517: StreamCore::finishProtocol(ImpMik:IDEA:SetEpass, status=Success) bus owner 2022/03/21 16:27:13.825033 IDEA AsynDriverInterface.cc:576: AsynDriverInterface::unlock(ImpMik:IDEA:SetEpass) 2022/03/21 16:27:13.825057 IDEA AsynDriverInterface.cc:1417: AsynDriverInterface::finish(ImpMik:IDEA:SetEpass) start 2022/03/21 16:27:13.825078 IDEA AsynDriverInterface.cc:1427: AsynDriverInterface::finish(ImpMik:IDEA:SetEpass) done 2022/03/21 16:27:13.825125 cbLow StreamEpics.cc:896: streamRecordProcessCallback(ImpMik:IDEA:SetEpass) processing record 2022/03/21 16:27:13.825175 cbLow StreamEpics.cc:699: Stream::process(ImpMik:IDEA:SetEpass) ready. don't convert 2022/03/21 16:27:13.825199 cbLow StreamEpics.cc:901: streamRecordProcessCallback(ImpMik:IDEA:SetEpass) processing record done Best regards,
Tony
Mark Rivers <rivers at cars.uchicago.edu> 於 2022年3月19日週六 上午1:59寫道:
|