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