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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: IOC for keithley 6485 using asyn
From: Mark Rivers <[email protected]>
To: Paramveer Jain <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 15 Nov 2016 12:30:52 +0000
Hi Paramveer,

I have a couple of suggestions.

- You appear to be running asyn R4-18.  That release is 5 years old, and there have been a number of bug fixes and enhancements since then.  Is it possible for you to upgrade?

- The HowToDoSerial tutorial you are using is for an obsolete method of talking to devices using the devGpib device support.  There are very few people who use that anymore who would be able to help you.  The recommended replacement is StreamDevice, and there is a new tutorial that shows how to use it with asyn.

http://www.aps.anl.gov/epics/modules/soft/asyn/R4-30/HowToDoSerial/HowToDoSerial_StreamDevice.html

Mark


________________________________
From: [email protected] [[email protected]] on behalf of Paramveer Jain [[email protected]]
Sent: Tuesday, November 15, 2016 12:10 AM
To: [email protected]
Subject: IOC for keithley 6485 using asyn

hello,
      I am designing an IOC for Keithley 6485 using IOC
after all steps discussed in
http://www.aps.anl.gov/epics/modules/soft/asyn/R4-3/HowToDoSerial/tutorial.html ,When I run the IOC following is the output --


pxbl21-1@linux-edqv:~/programs/epics/bl21/K6485/iocBoot/iocK6485> ../../bin/linux-x86_64/K6485 st.cmd
#!../../bin/linux-x86_64/K6485
## You may have to change K6485 to something else
## everywhere it appears in this file
epicsEnvSet("BL","bl21:")
epicsEnvSet("P","K6485:")
< envPaths
epicsEnvSet("ARCH","linux-x86_64")
epicsEnvSet("IOC","iocK6485")
epicsEnvSet("TOP","/home/pxbl21-1/programs/epics/bl21/K6485")
epicsEnvSet("K6485","/home/pxbl21-1/programs/epics/bl21/K6485")
epicsEnvSet("ASYN","/home/pxbl21-1/programs/epics/modules/synApps_5_6/support/asyn-4-18")
epicsEnvSet("EPICS_BASE","/home/pxbl21-1/programs/epics/base-3.14.12.5")
##############################################################################
cd "/home/pxbl21-1/programs/epics/bl21/K6485"
## Register all support components
#dbLoadDatabase "dbd/devK6485.dbd"
dbLoadDatabase "dbd/K6485.dbd"
K6485_registerRecordDeviceDriver pdbbase
###############################################################################
# Set up ASYN ports
# drvAsynIPPortConfigure port ipInfo priority noAutoconnect noProcessEos
drvAsynSerialPortConfigure("L0","/dev/ttyUSB0",0,0,0)
asynSetOption("L0", -1, "baud", "57600")
asynSetOption("L0", -1, "bits", "8")
asynSetOption("L0", -1, "parity", "none")
asynSetOption("L0", -1, "stop", "1")
asynSetOption("L0", -1, "crtscts", "N")
###################################################################
asynSetTraceFile("L0",-1,"")
asynSetTraceMask("L0",-1,0x09)
asynSetTraceIOMask("L0",-1,0x2)
###############################################################################
## Load record instances
dbLoadRecords("db/devK6485.db","BL=bl21:,P=K6485:,R=1,L=0,A=-1,NELM=1000")
dbLoadRecords ("db/asynRecord.db","P=K6485:,R=asyn,PORT=L0,ADDR=-1,OMAX=0,IMAX=0")
cd "/home/pxbl21-1/programs/epics/bl21/K6485/iocBoot/iocK6485"
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Sep 15 2016
############################################################################
Warning -- devK6485 respond2Writes is set but has no command table entry with rspLen>0.
bl21:K6485:1AutozeroRBV : init_record : record type invalid for spec'd GPIB param#11
bl21:K6485:1DisplayRBV : init_record : record type invalid for spec'd GPIB param#15
bl21:K6485:1ZeroCheckRBV : init_record : record type invalid for spec'd GPIB param#12
bl21:K6485:1ZerocorrectRBV : init_record : record type invalid for spec'd GPIB param#13
bl21:K6485:1Autozero : init_record : record type invalid for spec'd GPIB param#11
bl21:K6485:1Display : init_record : record type invalid for spec'd GPIB param#15
bl21:K6485:1RangeRBV : init_record : record type invalid for spec'd GPIB param#10
iocRun: All initialization complete
## Start any sequence programs
#seq sncxxx,"user=pxbl21-1Host"
epics>



please have a look on highlighted lines, I am unable to understand What does they mean. I hope someone to help me to get some idea.

Thanks in advance

--
With Regards,

Paramveer Jain


References:
IOC for keithley 6485 using asyn Paramveer Jain

Navigate by Date:
Prev: Re: module for Keithley 6485 PA-meter Paramveer Jain
Next: Re: module for Keithley 6485 PA-meter Márcio Paduan Donadio
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: IOC for keithley 6485 using asyn Paramveer Jain
Next: Philosophy regarding use of open source libraries for EPICS Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Nov 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·