Hello,
I'm trying to use EPICS to run Kohzu SC-400 controller with soft IOC on
a Linux PC with GPIB card. At this stage I built EPICS and SynApps with
Linux GPIB package and can successfully talk to the controller via
asynRecord. Ideally I'd like to make it work with Ron Sluiter's Kohzu
SC-800 (same set of commands as SC-400) driver support, however I keep
getting the following error:
Illegal field value PV: kohzu:m1 motor_init_record_com(): card does not
exist!
My guess is that EPICS is looking for a VME card since VME_IO is listed
as address type in devKOhzuMotor.dbd file and can't find it for obvious
reason. I'm just starting building EPICS applications, so hopefully
there's an obvious solution that I can't see at the moment. Below is my
IOC startup file:
# Linux startup script
< envPaths
# save_restore.cmd needs the full path to the startup directory, which
# envPaths currently does not provide
epicsEnvSet(STARTUP,$(TOP)/iocBoot/$(IOC))
# Increase size of buffer for error logging from default 1256
errlogInit(20000)
# Specify largest array CA will transport
# Note for N sscanRecord data points, need (N+1)*8 bytes, else MEDM
# plot doesn't display
epicsEnvSet EPICS_CA_MAX_ARRAY_BYTES 64008
################################################################################
# Tell EPICS all about the record types, device-support modules, drivers,
# etc. in the software we just loaded (kohzu.munch)
dbLoadDatabase("../../dbd/iockohzuLinux.dbd")
iockohzuLinux_registerRecordDeviceDriver(pdbbase)
GpibBoardDriverConfig("L0",1,0,3,0)
dbLoadTemplate("motor.substitutions")
# Kohzu SC-800 motor controller setup parameters:
# (1) maximum number of controllers in system
# (2) motor task polling rate (min=1Hz,max=60Hz)
SC800Setup(1, 5)
# Kohzu SC-800 motor controller configuration parameters:
# (1) controller# being configured
# (2) ASYN port name
# (3) address (GPIB only)
SC800Config(0, "L0", 1)
var drvSC800debug 4
###############################################################################
iocInit
--
Konstantin Ignatyev, Ph.D.
Medical Physics & Bioengineering Dept.
University College London
London WC1E 6BT
Tel: +44 20 7679 2444
Fax: +44 20 7679 0255
- Replies:
- Re: Kohzu SC-400 GPIB driver support Ron Sluiter
- Navigate by Date:
- Prev:
problem about environment variables under vxWorks-6.6 Liu, Gongfa
- Next:
problem about environment variables under vxWorks-6.6 Liu, Gongfa
- 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
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: problem about environment variables under vxWorks-6.6 Jeff Hill
- Next:
Re: Kohzu SC-400 GPIB driver support Ron Sluiter
- 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
2022
2023
2024
|