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  2019  2020  2021  <20222023  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  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Unknown error with an equipment
From: TONY YU via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 17 Mar 2022 20:15:31 +0100
Hello Mark,

It was working last month as least. Then there was a disaster with the server computer and I have to setup the server again with the database and protocol files. FYI, the broken computer was running with R 3.14.12.4 and the new computer is running with R 3.14.12.8.

Tony

Mark Rivers <rivers at cars.uchicago.edu> 於 2022年3月17日週四 下午7:42寫道:
Was this working previously?

It looks like the hardware is communicating OK but it is returning error codes.

Mark


Sent from my iPhone

> On Mar 17, 2022, at 8:25 AM, TONY YU via Tech-talk <tech-talk at aps.anl.gov> wrote:
> 
> Hello,
>
> I encountered an unsolvable error with one of my equipment. Below is the error and the corresponding st.cmd, db and proto files. I would like to know what causes this error message. Thanks in advance.
>
> error:
> IDEA ImpMik:IDEA:Status: Input "#31 hv error detect" mismatch after 4 bytes
> IDEA ImpMik:IDEA:Status: got "hv error detect" where "ok" was expected
> IDEA ImpMik:IDEA:SetFilterOn: Input "#2E impossible, erro" mismatch after 1 byte
> IDEA ImpMik:IDEA:SetFilterOn: got "2E impossible, error" where "0" was expected
>
> st.cmd:
> drvAsynIPPortConfigure("IDEA", "terminal.chamber6:10002")
> asynOctetSetInputEos("IDEA",0,"\r\n")
> asynOctetSetOutputEos("IDEA",0,"\r\n")
> dbLoadRecords("${TOP}/db/Impulsmikroskop/IDEA.db", "P=ImpMik, NAME=IDEA, interface=IDEA")
>
> IDEA.db:
> record(bi, "$(P):$(NAME):Status") {
>   field(PINI, "YES")
>   field(DTYP, "stream")
>   field(INP, "@IDEA.proto Get_Status $(interface)")
>   field(ZNAM, "ERR")
>   field(ONAM, "Ok")
> }
>
> record(bo, "$(P):$(NAME):SetFilterOn") {
>   field(SCAN, "2 second")
>   field(DTYP, "stream")
>   field(FLNK, "$(P):$(NAME):SetEpass")
>   field(OUT, "@IDEA.proto Set_FilterOn $(interface)")
>   field(ZNAM, "Off")
>   field(ONAM, "On")
> }
>
> IDEA.proto:
> terminator = CR LF;
> pollperiod = 10;
> replytimeout = 1000;
> readtimeout = 5000;
>
> #
> # Get_Status
> #
> Get_Status {
>     out "Get status";
>     in  "#%2i ok";
>     out "ver";
>     in "EFC_for_NanoESCA V01.03 B0115";
>     out "Set mode remote";
>     in "#04 remote mode";
> }
>
>
> #
> # Set_FilterOn
> # range: 1, 10
> #
> Set_FilterOn {
>     out "Set filter %{off|on}";
>     in  "#0%*c filter %{off|on}";
>     @init {
>         out "Get filter";
> in  "#0%*c filter %{off|on}";
>     }
> }
>
> Best,
> Tony

Replies:
Re: Unknown error with an equipment Mark Rivers via Tech-talk
Re: Unknown error with an equipment Andrew Johnson via Tech-talk
References:
Unknown error with an equipment TONY YU via Tech-talk
Re: Unknown error with an equipment Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Unknown error with an equipment Mark Rivers via Tech-talk
Next: Re: Unknown error with an equipment Mark Rivers 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  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: Unknown error with an equipment Mark Rivers via Tech-talk
Next: Re: Unknown error with an equipment Mark Rivers 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  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·