Experimental Physics and
| |||||||||||||||
|
Hi, I'm trying to set up EPICS support for a GPIB device with the asyn module - my device is a Hewlett Packard 83620B Synthesized Sweeper and I'm using a Prologix GPIB-Ethernet adaptor. I've followed the steps in this tutorial (http://www.aps.anl.gov/epics/modules/soft/asyn/R4-12/HowToDoSerial/tutorial.pdf) to set up the device support files and ioc; I can successfully write values to the device and the identity command works, but whenever I try to read values EPICS returns a " read status "" nin 0 " error. I suspect this is a end-of-string issue but from what I can tell, the Prologix driver I'm using doesn't support the " asynOctetSetInputEos("L0",-1,"\n") " command. Does anyone have any other ideas for workarounds I might try? Thanks! - Ana Code below from st.cmd: #!../../bin/linux-x86_64/SdCarLO ## You may have to change SdCarLO to something else ## everywhere it appears in this file < envPaths epicsEnvSet("ARCH","linux-x86_64") epicsEnvSet("IOC","iocSdCarLO") epicsEnvSet("TOP","/home/admx/admxepics/iocs/SdCarLO") epicsEnvSet("ASYN","/home/admx/epics/asyn4-22") epicsEnvSet("PROLOGIXGPIB","/home/admx/admxepics/devices/PrologixGPIB") epicsEnvSet("SDCARLO","/home/admx/admxepics/devices/ag83620b")
epicsEnvSet("EPICS_BASE","/home/admx/epics/base-3.14.12.4") ## Register all support components dbLoadDatabase "dbd/SdCarLO.dbd" SdCarLO_registerRecordDeviceDriver pdbbase prologixGPIBConfigure("L0", "10.95.101.74:1234") ##asynOctetSetInputEos("L0",-1,"\n") ##asynOctetSetOutputEos("L0",-1,"\n") asynSetTraceIOMask("L0", -1, 0x2) asynSetTraceMask("L0", -1, 0x9) ## Load record instances cd /home/admx/admxepics/devices/ag83620b dbLoadRecords("db/devAG83620B.db","SIGGEN=SDCARLO, L=0, A=19") cd /home/admx/admxepics/iocs/SdCarLO/iocBoot/iocSdCarLO iocInit ############################################################################ ## EPICS R3.14.12.4 $Date: Mon 2013-12-16 15:51:45 -0600$ ## EPICS Base built May 20 2014 ############################################################################ ## Start any sequence programs #seq sncxxx,"user=admxHost" epics> 2014/12/10 09:40:06.444 SDCARLO:GET:FREQ read status "" nin 0
2014/12/10 09:40:06.444 SDCARLO:GET:FREQ error.
| ||||||||||||||
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |