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: Regarding an error
From: ZALA ARYANSINH via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 2 Mar 2022 09:30:14 +0530
Hello, 
I am currently following a project from the site mentioned below. 


I have successfully done the previous mentioned steps. Also a point to note that i am using a virtual machine as i could not install linux on my desktop. 

The error that i am facing is:

#!../../bin/linux-x86/helloWorldIOC
## You may have to change helloWorldIOC to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iochelloWorldIOC")
epicsEnvSet("TOP","/home/pi/Apps/epics/helloWorldIOC")
epicsEnvSet("ASYN","/usr/local/epics/modules/asyn")
epicsEnvSet("STREAM","/usr/local/epics/modules/stream")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base")
epicsEnvSet(STREAM_PROTOCOL_PATH,"helloWorldIOCApp/Db")
cd "/home/pi/Apps/epics/helloWorldIOC"
## Register all support components
dbLoadDatabase "dbd/helloWorldIOC.dbd"
helloWorldIOC_registerRecordDeviceDriver pdbbase
drvAsynSerialPortConfigure("SERIALPORT","/dev/ttyACM0",0,0,0)
2022/03/02 09:17:16.451 SERIALPORT -1 autoConnect could not connect: /dev/ttyACM0 Can't open  No such file or directory
asynSetOption("SERIALPORT",-1,"baud","115200")
asynSetOption("SERIALPORT",-1,"bits","8")
asynSetOption("SERIALPORT",-1,"parity","none")
asynSetOption("SERIALPORT",-1,"stop","1")
asynSetOption("SERIALPORT",-1,"clocal","Y")
asynSetOption("SERIALPORT",-1,"crtscts","N")
dbLoadRecords("db/arduino.db","PORT='SERIALPORT'")
## Load record instances
#dbLoadRecords("db/xxx.db","user=piHost")
cd "/home/pi/Apps/epics/helloWorldIOC/iocBoot/iochelloWorldIOC"
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Feb 21 2022
############################################################################
2022/03/02 09:17:16.955732 _main_ Can't find readable file 'arduino.proto' in 'helloWorldIOCApp/Db'
2022/03/02 09:17:16.955804 _main_ while reading protocol 'get_analog' for 'photo:get'
2022/03/02 09:17:16.955832 _main_ photo:get: Protocol parse error
2022/03/02 09:17:16.955858 _main_ photo:get: Record initialization failed
2022/03/02 09:17:16.955919 _main_ Can't find readable file 'arduino.proto' in 'helloWorldIOCApp/Db'
2022/03/02 09:17:16.955950 _main_ while reading protocol 'set_digital' for 'led:set'
2022/03/02 09:17:16.955979 _main_ led:set: Protocol parse error
2022/03/02 09:17:16.956005 _main_ led:set: Record initialization failed
Bad init_rec return value  PV: led:set ao: init_record

iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=piHost"
epics> 2022/03/02 09:17:17.960955 scan0.5 photo:get: Record not initialised correctly
2022/03/02 09:17:18.457259 scan0.5 photo:get: Record not initialised correctly
2022/03/02 09:17:18.957321 scan0.5 photo:get: Record not initialised correctly

Replies:
Re: Regarding an error Yendell, Gary (DLSLtd, RAL, LSCI) via Tech-talk

Navigate by Date:
Prev: Re: mrfioc2-PCI device Configuration gjzhai--- via Tech-talk
Next: Archiver Appliance Wrong last event timestamp Abdalla Ahmad 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: Job Opportunities at ISIS Neutron and Muon Source: Software engineers in Experiment Controls group Freddie Akeroyd - STFC UKRI via Tech-talk
Next: Re: Regarding an error Yendell, Gary (DLSLtd, RAL, LSCI) 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 ·