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: Unknown error with an equipment
From: TONY YU via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Thu, 17 Mar 2022 19:18:00 +0100
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

Navigate by Date:
Prev: Re: Epics Archiver Appliance and Network Storage slowdown Shankar, Murali 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: asyn IMAX data transfer exceeding EPICS_CA_MAX_ARRAY_BYTES 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 ·