Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 14 Sep 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |