EPICS Home

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  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  <20222023  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: Thu, 17 Mar 2022 18:42:24 +0000
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 TONY YU via Tech-talk
References:
Unknown error with an equipment TONY YU via Tech-talk

Navigate by Date:
Prev: Unknown error with an equipment TONY YU via Tech-talk
Next: Re: Unknown error with an equipment TONY YU 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  2025 
Navigate by Thread:
Prev: Unknown error with an equipment TONY YU via Tech-talk
Next: Re: Unknown error with an equipment TONY YU 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  2025